Skip to content

Example Spring-Boot Kafka Code for Failing Over between clusters, and switchback to primary when available.

Notifications You must be signed in to change notification settings

raystorm/Kafka-Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kafka-Example

Minimal Example for How-to:

  1. Failover Kafka between Primary and Secondary clusters a. KafkaProducerErrorHandler b. KafkaSwitchCluster
  2. Switch Back to Primary Once it is available again (on a Timer.) a. KafkaProducerErrorHandler#primarySwitch()
    Using @Scheduled for the timer.

About

Example Spring-Boot Kafka Code for Failing Over between clusters, and switchback to primary when available.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published