xebia-functional / poc-scala-data-streaming

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

1. Create the kafka stream module

dagmendez opened this issue · comments

commented
  • Create a new module in the build.sbt.

  • Select carefully the dependencies of the module and add only those necessary: Try to keep the dependency graph the smallest possible. Declare those libraries used for test for test scope only.

  • Verify that the Scala version is compatible with the one used in the project. If needed, add additional configuration in sbt to make the code compile with the new module.

  • Set the basic Kafka class and subscribe to an existing Kafka topic. Use magic numbers / hard coded values for this tasks.