kroxylicious / kroxylicious-junit5-extension

JUnit5 extension and helpers for writing tests parameterised over Kafka clusters
Apache License 2.0
9 stars 10 forks source link

Add @listener annotation to provide better control of configuration in tests #367

Open SamBarker opened 2 months ago

SamBarker commented 2 months ago

This breaks the abstraction. The 'external' name is currently a private concern. We shouldn't need it.

Long term, I'd like the ext to support @Listener annotations that define the listeners that the Cluster exposes. It could permit arguments that would allow additional configuration to be supplied to the listener.

I think this is good enough for now.

_Originally posted by @k-wall in https://github.com/kroxylicious/kroxylicious/pull/1355#discussion_r1676111213_