Deploying Kafka-Dependent Scala Microservices With Docker

In this post we will see how to use docker-compose and sbt-docker to deploy Scala microservices. We will create services to (1) get tweets using the Twitter streaming API and put them in Kafka, (2) read from Kafka and get the number of hashtags in each tweet, and (3) see how to use sbt-docker plugin to create separate Docker images for our services. Finally, we will use docker-compose to define the environment for our services and run them.

The full code and instruction to run example is available at https://github.com/saumitras/kafka-twitter-docker. https://goo.gl/GFuY6P #DataIntegration #ML

Subscribe To Newsletter

Sign up for my newsletter and get the latest technology news

2019 © Craig Brown PhD. All rights reserved.