nastra commented on issue #8107:
URL: https://github.com/apache/iceberg/issues/8107#issuecomment-1643553764

   Could you also please share the implementation of 
`KafkaCreateSnapshotEventToJsonListener` if possible? I'm mainly interested 
whether it implements `equals()` / `hashCode()`, because most listeners won't 
have that implemented and so adding a `if (!listeners.contains(...))` check 
wouldn't really help. Here's also a short example of how listeners are 
registered in the tests: 
https://github.com/apache/iceberg/blob/96f0f22bd829a5dbe0ac8194c70a878493300b7d/api/src/test/java/org/apache/iceberg/events/TestListeners.java#L27-L28


-- 
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]

Reply via email to