You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As discussed strimzi/strimzi-kafka-operator#6400, we should create a common super-interface for StrimziKafkaCluster and StrimziKafkaContainer to allow precisely this kind of abstraction in users. The reason why we need it is that currently, we can't use super-type of StrimziKafkaContainer, StrimziZooKeeperContainer...and the only supertype is Startable. This interface should expose getBootstrapServers() and getZookeeperConnectString() to the users.
✅ It would also be more typesafe, since trying to call this method with any old Startable would then be a compile-time error.
The text was updated successfully, but these errors were encountered:
As discussed strimzi/strimzi-kafka-operator#6400, we should create a common super-interface for StrimziKafkaCluster and StrimziKafkaContainer to allow precisely this kind of abstraction in users. The reason why we need it is that currently, we can't use super-type of StrimziKafkaContainer, StrimziZooKeeperContainer...and the only supertype is
Startable
. This interface should exposegetBootstrapServers()
andgetZookeeperConnectString()
to the users.✅ It would also be more typesafe, since trying to call this method with any old Startable would then be a compile-time error.
The text was updated successfully, but these errors were encountered: