A client has a Heroku app that uses Apache Kafka on Heroku. They want to refactor the app into 2 distinct apps that will both continue to use Kafka (because they probably don't have so much to do in their life). Based on this refactoring, what should an Architect recommend?
- Ensure that the apps consume mutually excliusive sets of Kafka topics
- Attach the existing Kafka add-on to both apps
- Designate one app as a producer and the other as a consumer
- Attach the existing Kafka add-on to one app and attach a new Kafka add-on to the other app
Reveal Solution
Next Question