-
Notifications
You must be signed in to change notification settings - Fork 590
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(source): cleanup unused key schema logic & requirements for format upsert encode avro
#17759
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please also clean up the doc
statement error SCHEMA_REGISTRY_NAME_STRATEGY_TOPIC_RECORD_NAME_STRATEGY expect non-empty field key\.message | ||
create table t_topic_record () with ( | ||
connector = 'kafka', | ||
topic = 'upsert_avro_json-topic-record', | ||
properties.bootstrap.server = '${RISEDEV_KAFKA_BOOTSTRAP_SERVERS}' | ||
) format upsert encode avro ( | ||
schema.registry = '${RISEDEV_SCHEMA_REGISTRY_URL}', | ||
schema.registry.name.strategy = 'topic_record_name_strategy', | ||
message = 'CPLM.OBJ_ATTRIBUTE_VALUE' | ||
); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it makes sense removing name strategy related things since we does not interpret key schema.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wonderful
Hmmm, for |
I have not followed the whole debezium path yet, so I cannot tell whether those lines are useful or not. |
I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
Resolves #17670
AvroProperties::enable_upsert
is not usefulAvroParserConfig::key_schema
is alwaysNone
(after boolean removal above)encoding_type
is always hardcoded asEncodingType::Value
except for DebeziumAvro.Checklist
./risedev check
(or alias,./risedev c
)Documentation
Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.