Idempotency in Kafka ProducerHow Producer and Broker Communication works? Whenever a Producer send a message to Broker , Broker will in return send an ACK to producer and log the message into the respective partition .In case producer doesn’t successfully received the ACK produc...2 min read·krishanblogs.hashnode.devOct 4, 2024
How to Manage Data Consistency with Multiple Worker Instances?Problem Statement Let’s consider a scenario where we have a single service instance running a cron job. This job checks the database for any entries with a status of COMPLETED. When it finds such entries, it performs the necessary application code c...5 min read·krishanblogs.hashnode.devOct 2, 2024
System Design For Twitter Hashtag TrackingProblem Statement Design a basic system to count and display the number of times a hashtag is used on a social media platform. Functional Requirements Users should able to tweet along with hashtags Assumption: For now let’s focus on basic tweets wh...10 min read·krishanblogs.hashnode.devMay 8, 2024