Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Process client images using Kafka & reactive architecture

NotificationsYou must be signed in to change notification settings

inakianduaga/kafka-image-processor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Small image processing demo to test Kafka (w/ Avro) integration in a full frontend/backend application

A Kafka integration in a minimal but "realistic" environment, where there is a client/backend pair handling requests and interacting with Kafka,and additional backends doing processing over the Kafka streams. The kafka data is saved in Avro format

Features

  • CycleJS for reactive frontend
  • Akka kafka streams integration
  • Avro integration
  • Schema evolution example
  • Avro serialization/deserialization using auto-generated case classes from Avro schemas

Installation

All the services are dockerized and orchestrated throughdocker-compose.

Requirements:

Instructions

  1. Build project dockerfiles:$ docker-compose -f ./docker/docker-compose build
  2. Run project:$ docker-compose -f ./docker/docker-compose up
  3. Point browser tohttp://localhost:3000

Architecture

Client

  • CycleJS reactive UI that communicates with the backend via Websockets
  • More details

Client Backend

  • Scala Play backend that connects to the client via websockets and receives processing requests from it.
  • Forwards data to Kafka to be processed by another backend. So it behaves as aKafka producer
  • More details

Image processor

  • This is a Kafka stream backend that connects to Kafka and transforms streams (processes images from image urls)
  • More details

Kafka

A Kafka/Zookeeper pair that provides an event system for the application

About

Process client images using Kafka & reactive architecture

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp