Posted in Kafka Python

Python Client for Apache Kafka Producer and Consumer

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 should not be shared across…

Continue Reading... Python Client for Apache Kafka Producer and Consumer
Posted in Kafka Microservices Spring Boot Spring Cloud

Event Driven Streaming using Spring Cloud Stream and Apache Kafka

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 then we need a call…

Continue Reading... Event Driven Streaming using Spring Cloud Stream and Apache Kafka
Posted in Bootstrap Flask MySQL Python

Bootstrap Calendar Events Demo using Python Flask MySQL

Introduction We will create bootstrap calendar events demo using Python Flask MySQL. We had created similar example using Codeigniter (PHP framework) and MySQL. We will use the same version of bootsrap library 2.3.2 because using bootstrap version 4.3.1 the layout becomes a little messy. It helps users to track easily what all upcoming events are or past events were there…

Continue Reading... Bootstrap Calendar Events Demo using Python Flask MySQL
Posted in Bootstrap Codeigniter

Bootstrap Calendar Events Demo Using Codeigniter

Calendar The example, Bootstrap Calendar Events Demo using Codeigniter 3, will show you how you can show different events set by users on a calendar. It helps users to track easily what all upcoming events are or past events were there by navigating through the calendar dates. Bootstrap Calendar is a reusable jQuery plugin that makes it easier to create an…

Continue Reading... Bootstrap Calendar Events Demo Using Codeigniter
Posted in Spring REST

Server Sent Events with Spring – Push Notifications

Push Notification I am going to show you an example on how to build an app to send push notifications using Spring’s server sent events (SSE) API. You might have seen a popular choice for sending real time data from server to client in web application is using WebSocket in my previous tutorials Messaging with STOMP over WebSockets using Spring,…

Continue Reading... Server Sent Events with Spring – Push Notifications
Posted in NodeJS React JS

Tic-tac-toe game using React JS

In this tutorial you will see how to build Tic-tac-toe (tic tac toe) game using React or React JS web framework. React is a declarative, efficient, and flexible JavaScript library for building user interfaces. You may read more about tic-tac-toe game at https://en.wikipedia.org/wiki/Tic-tac-toe. You may also read tic tac toe using Java here https://roytuts.com/tic-tac-toe-game-using-java/

Continue Reading... Tic-tac-toe game using React JS
Posted in JSF

ValueChangeListener example in JSF 2

Introduction This tutorial shows how to use ValueChangeListener to create dependent dropdown in JSF 2 and MySQL. I have used here JSF 2’s valueChangeListener which fires value change event when select option dropdown gets changed. Any component that receives user input, such as one of the HTML select or text input components, can publish value change events. The dependent dropdowns…

Continue Reading... ValueChangeListener example in JSF 2