@Test
public void testGetTopicConfig() {

    final String topic1 = "MyTopic1" + System.currentTimeMillis();
    final String topic2 = "MyTopic2" + System.currentTimeMillis();
    // Create two topics
    sharedKafkaTestResource
        .getKafkaTestUtils()
        .createTopic(topic1, 2, (short) 1);
    sharedKafkaTestResource
        .getKafkaTestUtils()
        .createTopic(topic2, 1, (short) 1);
    final TopicConfig topicConfig = kafkaOperations.getTopicConfig(topic1);
    assertNotNull("non-null response", topicConfig);
    assertFalse("Should not be empty", topicConfig.getConfigEntries().isEmpty());
    for (final ConfigItem configItem: topicConfig.getConfigEntries()) {
        assertNotNull(configItem.getName());
    }
}