Skip to content

Instantly share code, notes, and snippets.

@ftrossbach
Created December 1, 2017 18:44
Show Gist options
  • Save ftrossbach/ab83174125360576fb95196fdc070215 to your computer and use it in GitHub Desktop.
Save ftrossbach/ab83174125360576fb95196fdc070215 to your computer and use it in GitHub Desktop.
ExpectedTopicConfiguration testTopic = new ExpectedTopicConfiguration.ExpectedTopicConfigurationBuilder("test_topic")
.withReplicationFactor(3)
.withPartitionCount(32)
.withConfig("delete.retention.ms", "30000")
.withConfig("cleanup.policy", "delete")
.build();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment