stream-registry
stream-registry copied to clipboard
Efficient use of KafkaAdmin / Kafka Clients
Desired Behavior
Right now we create/release zkutils objects with each call to an update of topic metadata.
Benefits
- Can scale to more updates without problems (memory pressure, compute etc)
- See https://github.com/homeaway/stream-registry/blob/bacfe0a5d61fa4102bd0ff521f80d60ff90257e2/core/src/main/java/com/homeaway/streamplatform/streamregistry/db/dao/impl/KafkaManagerImpl.java#L84