Skip to main content

Questions tagged [apache-kafka]

Apache Kafka is publish-subscribe messaging rethought as a distributed commit log.

Filter by
Sorted by
Tagged with
2 votes
4 answers
730 views

I was trying to model a fairly simple real world model inside a distributed system and got stuck thinking about timing and order and would appreciate some external view on it. Assuming I have this ...
Samuel's user avatar
  • 769
0 votes
1 answer
336 views

I am designing a message processing system for Kafka topic A. Each message has a message_type and needs to query DB to determine the tasks required for this message_type. The tasks are independent of ...
kietheros's user avatar
  • 117
-2 votes
1 answer
234 views

I am currently developing a microservices architecture consisting of two services, and I'm facing a challenge related to transaction management and error handling. Microservice A: This service is ...
Oleg Pro's user avatar
3 votes
2 answers
452 views

I have an application using Hexagonal Architecture. I want to implement a DLQ in 2 scenarios: When the event streaming adapter's incoming message is unreadable (invalid payload, etc) When the domain ...
Ryan's user avatar
  • 133
1 vote
1 answer
106 views

I'm struggling to (integration) test a component that makes use of an infinite generator. Background: At a really high level, this component is essentially a "middleman" in a kafka workflow. ...
Luke Nelson's user avatar
0 votes
2 answers
242 views

I've been at my current job for about 4-5 months, mainly working with Go, and I have no prior experience with Kafka. Before this, my background was in JavaScript, Node.js, React, etc. I recently got a ...
Anatoly's user avatar
  • 274
2 votes
2 answers
195 views

Folks, I am wondering if there is any dis/advantage to using json objects as message keys. Assume I have 2 event streams coupled with 2 tables in a source system. Each of those tables have its own ...
Babak's user avatar
  • 31
1 vote
1 answer
508 views

We want to install Kafka Kraft cluster on 35 machines ( machines are DELL physical machines - type R760 And OS is Linux RHEL 8.6 version ) Since we are dealing with Kafka production cluster , we want ...
jessica's user avatar
  • 111
0 votes
0 answers
94 views

I have two microservices, USERS and PRODUCTS, the second one creates objects referred to first one so it needs first to check that exists First I though in a redis cache, but then I realize that for ...
yorozuya3's user avatar
2 votes
2 answers
9k views

Building on this answer here, and its comments it entails that subscribers need to know and locate the publishers in a traditional pub/sub system. It also entails that publishers need to live at least ...
bodhihammer's user avatar
0 votes
1 answer
341 views

I'm trying to use Kafka for my event handling, but I'm struggling a bit to understand what pattern I should use. My use case is this: One consumer waits for one type of event. When that event is ...
chrisklingsater's user avatar
0 votes
2 answers
755 views

I'm designing the architecture of a platform to introduce a message broker in an existing data collection web application. This web application is currently used to upload data from excel files that ...
Giox's user avatar
  • 109
1 vote
0 answers
137 views

I have an Micro-services where we get the event messages from a Kafka messaging system. The event message contains the orders information, quantity, the mode of package and delivery location. At a ...
User27854's user avatar
  • 111
0 votes
1 answer
569 views

I have the request to integrate my Python server application (Flask/waitress) with Kafka. That means that it should frequently poll a certain Kafka topic (on the order of minutes) and process all new ...
user3058865's user avatar
2 votes
1 answer
166 views

I have a requirement where we need to collect N different events and store them for analysis. I am having trouble coming up with a general architecture for this. FINAL REQUIREMENTS The end goal of the ...
Sriram R's user avatar
2 votes
1 answer
1k views

When inter-communicating through http requests between Microservices it is quite easy to reply with error messages to users, you can just catch the error of a different Service and forward it to the ...
JonasLevin's user avatar
0 votes
2 answers
492 views

As this article explains the way to deal with persistent state in an event log driven architecture is to have some "microservice" subscribed to events and be responsible for maintaining that ...
user3279360's user avatar
0 votes
2 answers
338 views

Let's say I have a system that parses network traffic, and generates event of things that happened. example: ip1 was talking to ip2 ip2 was talking to ip3 etc Now let's say that these events are ...
Alon G's user avatar
  • 101
0 votes
1 answer
684 views

Not sure if this is the correct forum for this question - but I could really use some advice. I need to design a system (within certain constraints). The system must implement the following logic: A ...
Mulciber Coder's user avatar
2 votes
2 answers
2k views

I need to stream changes from my MongoDB instance to Elasticsearch. I also need to perform complex transformations on changed documents. After doing some research I narrowed my options down to 2: ...
Yos's user avatar
  • 167
0 votes
1 answer
667 views

What are your thoughts on having a service/process be both an API server and a background worker, consuming messages off a queue like SQS? I have typically kept these two separate to keep single ...
n00b's user avatar
  • 111
8 votes
2 answers
16k views

I'm developing a realtime chat application with an Angular frontend and Java backend. I've found a couple of examples that resemble what I am trying to achieve, such as: https://medium.com/swlh/...
Babyburger's user avatar
1 vote
1 answer
410 views

I apologize if this sounds really strange. I am very new to System Design and have just been reading up on Event driven systems. To gain better understanding and to perfect my thought process I ...
Saturnian's user avatar
  • 157
1 vote
1 answer
322 views

I’m building a microservice which depends on a set of downstream services to collect the data necessary to operate. It is a data delivery system, I’m not source of truth for any data, my system rather ...
Jean Carlo Machado's user avatar
0 votes
0 answers
49 views

We have a weird use-case that I need to support in my application and needed some opinions on how to design it. At a basic level the application allows users to work on a "list" of "tweets" she cares ...
user642770's user avatar