kumarpritam863 commented on issue #13457:
URL: https://github.com/apache/iceberg/issues/13457#issuecomment-3170498409
Hi @rmoff , I was able to get data in all the three dynamically created
tables. Below is the config which I used:
`{
"connector.class": "org.apache.iceberg.connect.IcebergSinkConnector",
"iceberg.tables.evolve-schema-enabled": "true",
"tasks.max": "7",
"transforms": "addRouteField",
"iceberg.tables.dynamic-enabled": "true",
"transforms.addRouteField.field.values": "test.pritam1, test.pritam2,
test.pritam3",
"key.serializer":
"org.apache.kafka.common.serialization.ByteArraySerializer",
"iceberg.tables.auto-create-enabled": "true",
"iceberg.control.commit.timeout-ms": "60000",
"errors.log.enable": "true",
"iceberg.tables.route-field": "routeField",
"transforms.addRouteField.type":
"org.apache.iceberg.connect.AddFieldWithAlternatingValues",
"iceberg.catalog.catalog-impl":
"org.apache.iceberg.aws.glue.GlueCatalog",
"iceberg.catalog.io-impl": "org.apache.iceberg.aws.s3.S3FileIO",
"topics": "topic-pritam-1",
"iceberg.control.commit.interval-ms": "30000",
"transforms.addRouteField.field.name": "routeField",
"errors.deadletterqueue.topic.name": "test-deadletter-topic",
"name": "dynamic2",
"iceberg.connect.group-id": "dynamic2",
"errors.tolerance": "all",
"iceberg.kafka.enable.idempotence": "true",
"iceberg.control.topic": "topic-pritam-4",
"iceberg.catalog.warehouse": "s3://<bucket>/<path_prefix>/"
}`
Also I have a question, when you quoted below:
> The problem here is the SMT. If I use dynamic routing and just rely on an
existing field in the data, it works fine:
Can you check if you do not apply SMT value of "routeField" in all your
records has the same value.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]