Introduction Here in this tutorial I am going to show you how to work with Apache Kafka consumer and broker failover in multi-broker clusters. Kafka is a distributed event streaming platform that lets you read, write, store, and process events (also called records or messages in the documentation) across many machines. Example events are payment…

Posted in Kafka

Apache Kafka Consumer and Broker Failover in Multi-Broker Clusters

Here I am going to build an application to show how to use Spring Cloud Bus. Let’s say you have multiple applications reading properties using Spring Cloud Config from centralized configuration files (for example, from Git repository). Spring Cloud Config is where you can have not only your all configurations centrally managed but also you…

Posted in Kafka Spring Boot Spring Cloud

Spring Cloud Bus Example

Introduction In this tutorial I am going to show you how to use Python client to work with Apache kafka distributed stream processing system. I will create Kafka producer and consumer examples using Python language. KafkaConsumer is a high-level message consumer that consumes records from a kafka cluster. The consumer is not thread safe and…

Posted in Kafka Python

Python Client for Apache Kafka Producer and Consumer

In this tutorial we will see an example of event driven streaming using Spring Cloud Stream and Apache Kafka streaming platform. How do we deal with some events, such as, a new user has registered to a portal, an order was placed, a file has been uploaded etc? Let’s say when an order was placed…

Posted in Kafka Microservices Spring Boot Spring Cloud

Event Driven Streaming using Spring Cloud Stream and Apache Kafka

Introduction In this tutorial I will show you how to work with Apache Kafka Streams for building Real Time Data Processing with STOMP over Websocket using Spring Boot and Angular 8. We will see how to build push notifications using Apache Kafka, Spring Boot and Angular 8. We need to provide some basic things that…

Posted in Angular Kafka Spring Boot WebSocket

Apache Kafka Streams for building Real Time Data Processing with STOMP over WebSocket using Spring Boot and Angular 8

Introduction In this tutorial I will show you how to produce and send message using Apache Kafka and Spring Boot. Apache Kafka is supported by providing auto-configuration of the spring-kafka project. Kafka configuration is controlled by external configuration properties in spring.kafka.*. I will show you how to build this application using both maven and gradle…

Posted in Kafka

How to produce and consume message using Apache Kafka and Spring Boot

Introduction In this guide I will tell you how to setup and work with publish subscribe domain in Apache Kafka in windows environment. I am not going to tell you about Kafka and you will find very good documentation on this here. Kafka works on publish subscribe domain and this tutorial will show you how…

Posted in Kafka

How to setup and work with Publish Subscribe domain in Apache Kafka in Windows Environment

Introduction We will see an example here how to publish and subscribe message onto MQTT (Mosquitto) using Spring Boot framework. We had seen in our previous example how to publish and subscribe message using Mosquitto client – MQTT.fx. So here we are going to ingrate Spring application with MQTT broker through Spring integration framework, though…

Posted in JMS Mosquitto Spring Boot

Publish Subscribe Message onto MQTT using Spring Boot

Introduction Here we will see how to publish subscribe message using Mosquitto client – MQTT.fx. You can use any server side technologies such as Java, Spring, Python etc. to publish and subscribe message into MQTT topic but here we will use MQTT client, which is downloadable for various operating system, to publish or to subscribe…

Posted in Mosquitto

Publish Subscribe Message using Mosquitto Client – MQTT.fx

Introduction In this post we will see how to install Mosquitto MQTT Client or MQTT.fx in Windows environment. In our previous tutorial we have seen how to install Mosquitto server. MQTT.fx is an user interface through which you can check messages arrive on topics. You have the option to connect to, disconnect from Mosquitto server….

Posted in Mosquitto

How to Install Mosquitto MQTT Client in Windows

Introduction In this post we will see how to install Eclipse Mosquitto in Windows environment. Mosquitto is an open source message broker that implements MQTT protocol. Mosquitto is light-weight and suitable for low power computers to full servers.

Posted in Mosquitto

How to Install Mosquitto MQTT in Windows

Introduction We will create push notify messaging with STOMP over WebSockets using Spring and ActiveMQ. We have seen similar tutorial at link https://roytuts.com/spring-boot-websocket-angularjs-gradle-example/, but we used in-memory message broker but here we will use external message broker – ActiveMQ. We will use Angular 8 for building front end or UI where message will be updated…

Posted in ActiveMQ Spring Boot WebSocket

Messaging with STOMP over WebSockets using Spring, Angular 8 and ActiveMQ