How to Join One-to-Many and Many-to-One Relationship with Kafka Streams

Yet another Kafka feature, which is Kafka Streams, allow us to join two streams into one single stream. Kafka streams provide one-to-many and many-to-one join types.

How to Encrypt and Decrypt Kafka Message using Custom (De)Serializers

Sensitive data always need to be handled with extra careful. Thus, in some cases, we need to encrypt before delivering message to Kafka topic.

How to Publish Subscribe to Kafka with Spring and SASL/SCRAM

interface

After we secure Kafka Broker and Zookeeper with SASL/SCRAM, it is time for client (Java + Spring) to connect to secured Kafka.

How to Secure Confluent Kafka with SSL and SASL/SCRAM

Overview When I decided to include Apache Kafka as one of our technology stack, I never imagine the demand would be this huge. At first, my requirements were only two things. Something faster than ActiveMQ […]

How to Isolate Database Credentials in Spring Boot Using Vault

Data privacy and security became critical nowadays. Thus, we need to isolate database credentials and make it transparent to our applications/services.

How to Secure Ansible Playbook Credentials using Hashicorp Vault

Isolate any target host’s credentials (hostname, user, password) from Ansible Playbook. And let the playbook retrieve those information from secret management tools (Hashicorp Vault) during targets provisioning.

How to Secure REST Endpoint Using Spring Boot and OAuth2

Overview In this article, I will provide a simple example to secure REST example by using Oauth2. I will not explain what Oauth2 protocol is all about in detail. In short, to implement this authorization […]

How to Make a Simple CRUD Example using ExpressJS and Neo4j

Overview Today I will write something different in this article. Most of my articles are based on Go and Java. Now I will try to write something with Javascript, a must known programming language for […]

How to Register Spring Cloud with Consul Service Discovery

One of the main component of micro service architecture is service discovery (SD). So far in this blog I mentioned two tools for service discovery, which are Eureka and Consul. But if you may notice, whenever I used spring-cloud framework, I always choose Eureka. On the other hand, I pick consul when I talked about Golang.