Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
philipp94831 committed Jun 24, 2024
1 parent 9ce7863 commit 2c03285
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public String getBoostrapServers() {
* @return Kafka configs
* @see StreamsConfig#originals()
*/
public Map<String, Object> getStreamsConfig() {
public Map<String, Object> getKafkaProperties() {
return Collections.unmodifiableMap(this.streamsConfig.originals());
}
}
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 2c03285

Please sign in to comment.