You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[#11779][CDCSDK] Add option to send a DDL record based on a flag value in GetChangesRequest
Summary:
Before this, the issue was that if for a stream ID, some data was consumed and a client comes up with the same stream ID and requests for changes, it will only receive the changes.
Now the issue with this was with `Debezium` that when the connector was restarted, it directly received the changes without any DDL record, this DDL record was essential for Debezium since it was used to process the schema info for the columns in Debezium and in case it was not there, it lead to a `NullPointerException` on the client side, thus causing a connector crash effectively.
Test Plan:
Tested the complete CDC with Debezium pipeline with the specified change.
Command to run test:
`ybd --cxx-test integration-tests_cdcsdk_ysql-test --gtest_filter CDCSDKYsqlTest.TestNeedSchemaInfoFlag`
Reviewers: rahuldesirazu, jhe, skumar, sergei
Reviewed By: sergei
Subscribers: iamoncar, sdash, ybase
Differential Revision: https://phabricator.dev.yugabyte.com/D16057
0 commit comments