Closed anuja-kelkar closed 1 year ago
Dynamic routing will ignore records if they can't be routed to a table, i.e. if the table doesn't exist and auto create is off. You can try enabling auto create to help debug this, and see if any tables are being created that you don't expect.
Thanks @bryanck . We observed a property of the connector incorrectly named, which was causing the issue. This can be closed.
Hi, We are using iceberg-kafka-connect as a custom plugin with Amazon MSK Connect. We are publishing messages to a single Kafka topic in our Amazon MSK Cluster and using the Multi-table fan-out, dynamic routing to write to dynamic tables in Iceberg.
The connector config we are using is as follows:
Here is a sample message published to the datasets topic.
We do see that the iceberg table metadata is getting refreshed and table is being loaded by the catalog. Refer to the log messages below:
We are encountering intermittent issues with the connector logs showing up the following message and the records not getting routed to the target Iceberg tables.
[Worker-0c9f5e21454c1773b] [2023-11-03 16:14:51,913] INFO [iceberg-kafka-connector-distro|task-1] Commit 93944a6d-361f-4420-af98-adfac6b9fdc7 complete, committed to 0 table(s), vtts null (io.tabular.iceberg.connect.channel.Coordinator:161)
We have seen that a successful commit message usually includes
committed to <db_name>.<table_name>
. Strangely enough, we have seen the records getting committed when the topic was deleted. We are unsure what we are missing and why we are seeing this behaviour. Any help is appreciated.Thanks.