-
Notifications
You must be signed in to change notification settings - Fork 470
Add docs for the changefeed kafka header option #19588
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
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for cockroachdb-interactivetutorials-docs canceled.
|
✅ Deploy Preview for cockroachdb-api-docs canceled.
|
✅ Netlify Preview
To edit notification comments on pull requests, go to your Netlify site configuration. |
04d8216
to
d3fe09b
Compare
cc @rohan-joshi |
|
||
The Kafka topic receives the message payload containing the row-level change: | ||
|
||
~~~json |
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.
can you also show the headers that would be received by kafka? rather than showing a query which would simulate it.
perhaps something like
| key | value | headers |
| A | {..} | x=y, z=q|
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.
I don't know if I've covered how you want this — I added in a rendered table to make it easier to read. Lmk if you want a change
Fixes DOC-12596
This PR adds docs for the new Kafka header option:
CREATE CHANGEFEED
page, which links back to the new section example on the message page.Preview
https://deploy-preview-19588--cockroachdb-docs.netlify.app/docs/v25.2/changefeed-messages.html#specify-a-column-as-a-kafka-header