Kotlin Advanced Features vs Java

I have been playing around with Kotlin and I am liking it more and more. Its cleaner, less verbose, more functional adn comes with many advanced features. I will list down few with short examples Kotlin vs Java Comparison ✅ Kotlin vs Java: A Feature-by-Feature Comparison Kotlin is a modern, expressive programming language fully interoperableContinue reading “Kotlin Advanced Features vs Java”

Microservice guidelines

Microservice When to expose a new microservice? Microservice has to expose a well defined functionality with significant code. It’s difficult to define what is significant code so how to make a decision about new microservice. If some service is turning into monolith. Various kind of functionality being added frequently into service Performance is becoming aContinue reading “Microservice guidelines”

Code Quality Guidelines

Comprehensive Software Development Guidelines Table of Contents General Coding Guidelines Naming and Organization Coding Practices Class Design Functions and Methods Control Flow Error Handling Comments and Documentation Logging and Monitoring Clean Code Principles Code Clarity Structure and Organization SOLID Principles Clean Architecture Layered Architecture Java-Specific Guidelines Core Java Features Collections & Data Structures Date andContinue reading “Code Quality Guidelines”

Serverless Architecture – AWS Lambda

I want to write this post about my views about serverless architecture (specifically AWS Lambda) which all cloud service providers like AWS are promoting as “holy grail” for solving all problems.  This post is targeting developers who understand that every technology has a limitation and its wise to make an informed decision Before I startContinue reading “Serverless Architecture – AWS Lambda”

Apache Kafka – Simple Tutorial

  In this post I want to highlight my fascination with Kafka and its usage. Kafka is a broker just like “RabbitMQ” or “JMS”. So what’s the difference? Difference are: It is distributed it is fault tolerant – because of messages being replicated across the cluster It does one thing and one thing only i.e.Continue reading “Apache Kafka – Simple Tutorial”

Kafka Cluster Setup

from my own experience I find that while setting up kafka cluster on AWS we face some issues so just want to highlight them. a. First setup zookeeper cluster. Let’s say 3 node cluster. Modify each node zoo.conf to publish ip address as internal IP address. server.id=<internal aws ip1>:2888:3888 server.id=<internal aws ip2>:2888:3888 server.id=<internal aws ip3>:2888:3888Continue reading “Kafka Cluster Setup”