Skip to content

Commit

Permalink
Update files
Browse files Browse the repository at this point in the history
  • Loading branch information
raminqaf committed Jun 25, 2024
1 parent 752e8e4 commit 1bfe392
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public static void runResetter(final Collection<String> inputTopics, final Colle
final Collection<String> 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<String> argList = ImmutableList.<String>builder()
.add("--application-id", appId)
.add("--bootstrap-server", streamsAppConfig.getBoostrapServers())
Expand Down Expand Up @@ -183,7 +183,7 @@ public void reset() {
}

private Map<String, Object> getKafkaProperties() {
return this.config.getStreamsConfig();
return this.config.getKafkaProperties();
}

private ImprovedAdminClient createAdminClient() {
Expand Down

0 comments on commit 1bfe392

Please sign in to comment.