Skip to content

Show how to use a single Kafka Streams app to rename a set of input topics

Notifications You must be signed in to change notification settings

aesteve/kafka-streams-rename-topics-scala

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shows how to use a simple Kafka Streams Topology to rename a set of topics by removing their prefix, leveraging:

  • the .stream(Pattern.compile("...")) builder pattern
  • using a TopicNameExtractor (which falls down to a simple functions taking key, value, and record context as input parameters and returning a String as output)
  • testing this using TopologyTestDriver

Running:

./sbtx test 

About

Show how to use a single Kafka Streams app to rename a set of input topics

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages