-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Docs] fix kafka format doc #6633
Conversation
I noticed another thing: |
| format | String | No | json | Data format. The default format is json. Optional text format, canal-json, debezium-json and avro.If you use json or text format. The default field separator is ", ". If you customize the delimiter, add the "field_delimiter" option.If you use canal format, please refer to [canal-json](../formats/canal-json.md) for details.If you use debezium format, please refer to [debezium-json](../formats/debezium-json.md) for details. | | ||
| field_delimiter | String | No | , | Customize the field delimiter for data format. | | ||
| common-options | | No | - | Source plugin common parameters, please refer to [Source Common Options](common-options.md) for details | | ||
| Name | Type | Required | Default | Description | |
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.
Could you help explain that changing those lines in the doc helps to solve the #6632?
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.
in https://github.com/apache/seatunnel/blob/dev/seatunnel-connectors-v2/connector-kafka/src/main/java/org/apache/seatunnel/connectors/seatunnel/kafka/config/MessageFormat.java enum, it's debezium_json
not debezium-json
. so throw debezium-json is not supported error
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.
Seems the canal-json
is not an incorrect word, why do we need to change it?
https://github.com/apache/seatunnel/blob/dev/seatunnel-connectors-v2/connector-kafka/src/main/java/org/apache/seatunnel/connectors/seatunnel/kafka/config/MessageFormat.java#L23 there has |
is it better to edit the Enum class |
this is the document issue, you can see the demo config from the canal-json document and debezium-json document. they are https://github.com/apache/seatunnel/blob/dev/docs/en/connector-v2/formats/debezium-json.md?plain=1#L91 |
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.
Looks good
Purpose of this pull request
close #6632
Does this PR introduce any user-facing change?
How was this patch tested?
Check list
New License Guide
release-note
.