class KafkaTopicClientImpl implements KafkaTopicClient {

  @Override
  public Set<String> listTopicNames() {
    try {
      return executeWithRetries(() -> adminClient.listTopics().names());
    } catch (final Exception e) {
      throw new KafkaResponseGetFailedException("Failed to retrieve Kafka Topic names", e);
    }
  }

  public  KafkaTopicClientImpl(final AdminClient adminClient);

}