Skip to content

Instantly share code, notes, and snippets.

@pawelpluta
Created January 19, 2020 18:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pawelpluta/76685592ec0d2848d0585853ebcdd40f to your computer and use it in GitHub Desktop.
Save pawelpluta/76685592ec0d2848d0585853ebcdd40f to your computer and use it in GitHub Desktop.
@Configuration
class KafkaContainerWrapperConfig {
private static final KafkaContainerWrapper containerWrapper = KafkaContainerWrapper.getContainer()
@Bean
NewTopic userData() {
return new NewTopic("user-data", 1, (short) 1)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment