All Projects → DivLoic → kafka-application4s

DivLoic / kafka-application4s

Licence: other
https://medium.com/xebia-france/getting-started-with-scala-and-apache-kafka-62bb1ca6a77f

Programming Languages

scala
5932 projects

Projects that are alternatives of or similar to kafka-application4s

Schema Registry
A CLI and Go client for Kafka Schema Registry
Stars: ✭ 105 (+400%)
Mutual labels:  confluent
Confluent Kafka Go
Confluent's Apache Kafka Golang client
Stars: ✭ 3,047 (+14409.52%)
Mutual labels:  confluent
puppet-confluent
Puppet Module for installing and configuring the Confluent Platform
Stars: ✭ 14 (-33.33%)
Mutual labels:  confluent
Kafka Rest
Confluent REST Proxy for Kafka
Stars: ✭ 1,863 (+8771.43%)
Mutual labels:  confluent
Hivemq Mqtt Tensorflow Kafka Realtime Iot Machine Learning Training Inference
Real Time Big Data / IoT Machine Learning (Model Training and Inference) with HiveMQ (MQTT), TensorFlow IO and Apache Kafka - no additional data store like S3, HDFS or Spark required
Stars: ✭ 204 (+871.43%)
Mutual labels:  confluent
kafka-connect-fs
Kafka Connect FileSystem Connector
Stars: ✭ 107 (+409.52%)
Mutual labels:  confluent
Camus
Mirror of Linkedin's Camus
Stars: ✭ 81 (+285.71%)
Mutual labels:  confluent
kafka-shell
⚡A supercharged, interactive Kafka shell built on top of the existing Kafka CLI tools.
Stars: ✭ 107 (+409.52%)
Mutual labels:  confluent
Ksql Udf Deep Learning Mqtt Iot
Deep Learning UDF for KSQL for Streaming Anomaly Detection of MQTT IoT Sensor Data
Stars: ✭ 219 (+942.86%)
Mutual labels:  confluent
ksql-jdbc-driver
JDBC driver for Apache Kafka
Stars: ✭ 85 (+304.76%)
Mutual labels:  confluent
Kafka Connect Storage Cloud
Kafka Connect suite of connectors for Cloud storage (Amazon S3)
Stars: ✭ 153 (+628.57%)
Mutual labels:  confluent
Confluent Kafka Python
Confluent's Kafka Python Client
Stars: ✭ 2,578 (+12176.19%)
Mutual labels:  confluent
avro-serde-php
Avro Serialisation/Deserialisation (SerDe) library for PHP 7.3+ & 8.0 with a Symfony Serializer integration
Stars: ✭ 43 (+104.76%)
Mutual labels:  confluent
Schema Registry
Confluent Schema Registry for Kafka
Stars: ✭ 1,647 (+7742.86%)
Mutual labels:  confluent
srclient
Golang Client for Schema Registry
Stars: ✭ 188 (+795.24%)
Mutual labels:  confluent
Open Bank Mark
A bank simulation application using mainly Clojure, which can be used to end-to-end test and show some graphs.
Stars: ✭ 81 (+285.71%)
Mutual labels:  confluent
schema-registry-php-client
A PHP 7.3+ API client for the Confluent Schema Registry REST API based on Guzzle 6 - http://docs.confluent.io/current/schema-registry/docs/index.html
Stars: ✭ 40 (+90.48%)
Mutual labels:  confluent
schema-registry-gitops
Manage Confluent Schema Registry subjects through Infrastructure as code
Stars: ✭ 36 (+71.43%)
Mutual labels:  confluent
kafka-avro-confluent
Kafka De/Serializer using avro and Confluent's Schema Registry
Stars: ✭ 18 (-14.29%)
Mutual labels:  confluent
kafkaESK
An event-driven monitoring tool that can consume messages from Apache Kafka clusters and display the aggregated data on a dashboard for analysis and maintenance.
Stars: ✭ 79 (+276.19%)
Mutual labels:  confluent

Kafka App for Scala

Master Workflow

This module is the attached source code from the blog post Getting Started with Scala and Apache Kafka. It discusses how to use the basic Kafka Clients in a Scala application. Originally inpired by the first scala example, it goes beyond by showing multiple ways to produce, to consume and to configure the clients.

  1. Try it
  2. Produce
  3. Consume
  4. Read More

Try it

git clone https://github.com/DivLoic/kafka-application4s.git
cd kafka-application4s
sbt compile

Local

You first need to run Kafka and the Schema Registry. Any recent installation of Kafka or the Confluent platform can be used. Many installation methods can be found on the CP Download Page.

i.e. Confluent Cli on Mac

curl -sL https://cnfl.io/cli | sh -s -- latest -b /usr/local/bin
export CONFLUENT_HOME=...
export PATH=$PATH:$CONFLUENT_HOME
confluent local services schema-registry start

Cloud

The module also works with a cluster hosted on Confluent Cloud. You will find in consumer.conf and producer.conf the commented config related to the cloud. After that, you will need either to edit these files or to define the following variables:

export BOOTSTRAP_SERVERS="...:9092"
export CLUSTER_API_KEY="..."
export CLUSTER_API_SECRET="..."
export SCHEMA_REGISTRY_URL="https:/..."
export SR_API_KEY="..."
export SR_API_SECRET="..."

For more on Confluent Cloud login see the documentation.

Produce

Run:

sbt produce "-Djline.terminal=none" --error  

asciicast

Consume

Run:

sbt consume "-Djline.terminal=none" --error  

asciicast

Read more

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].