hejiay commented on issue #8107:
URL: https://github.com/apache/iceberg/issues/8107#issuecomment-1643536459
Thank you, the `KafkaCreateSnapshotEventToJsonListener` is my implementation
of `Listener`, it sends create snapshot event to kafka topic when a snapshot
was created.I register it into listeners when catalog initialize.
And I found that when I execute the unit test
`[TestFlinkHiveCatalog.testCreateCatalogWithWarehouseLocation()]`, the
`HiveCatalog` would be initialized four times and the same
KafkaCreateSnapshotEventToJsonListener object would be registered into the same
eventType queue four times. So a snapshot event would be sent to kafka four
times.
--
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]