diff --git a/streams-bootstrap-core/src/main/java/com/bakdata/kafka/StreamsCleanUpRunner.java b/streams-bootstrap-core/src/main/java/com/bakdata/kafka/StreamsCleanUpRunner.java index 61f6e13d..7246d138 100644 --- a/streams-bootstrap-core/src/main/java/com/bakdata/kafka/StreamsCleanUpRunner.java +++ b/streams-bootstrap-core/src/main/java/com/bakdata/kafka/StreamsCleanUpRunner.java @@ -99,7 +99,7 @@ public static void runResetter(final Collection inputTopics, final Colle final Collection allTopics, final ImprovedStreamsConfig streamsAppConfig) { // StreamsResetter's internal AdminClient can only be configured with a properties file final String appId = streamsAppConfig.getAppId(); - final File tempFile = createTemporaryPropertiesFile(appId, streamsAppConfig.getStreamsConfig()); + final File tempFile = createTemporaryPropertiesFile(appId, streamsAppConfig.getKafkaProperties()); final ImmutableList.Builder argList = ImmutableList.builder() .add("--application-id", appId) .add("--bootstrap-server", streamsAppConfig.getBoostrapServers()) @@ -183,7 +183,7 @@ public void reset() { } private Map getKafkaProperties() { - return this.config.getStreamsConfig(); + return this.config.getKafkaProperties(); } private ImprovedAdminClient createAdminClient() {