Skip to content

Create common super-interface for containers #34

@see-quick

Description

@see-quick

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions