Domain Driven Design Kafka Topic
We ve standardized on apache.
Domain driven design kafka topic. In our credit card example kafka would be easily able to ingest large amounts of requests being sent to the system to allow for later processing. Communication in event driven land usually happens through some kind of messaging system. In general a ddd aggregate is used to transfer state which can be comprised of multiple different domain objects that are together treated as a single unit of information.
Domain driven design ddd concept was introduced by first eric evans in 2003. So basically ddd was introduced to solve the problem of a. How developers can become great writers.
An event driven design comes with the need for. Apache kafka is a cool product but if you are thinking about using it for event sourcing you should think again. It is sometimes useful to share information across services and data stores by means of so called aggregates which are a concept pattern defined by domain driven design ddd.
Kafka is a great tool for delivering messages between producers and consumers and. We could design a system where hundreds of thousands of messages are being sent per second to a commands topic step 1 and then consume them at a pace that suits the business. The concept of microservices did not exist at that time.
Schema and topic design in event driven systems featuring kafka. Browse other questions tagged domain driven design apache kafka event sourcing or ask your own question. The overflow blog podcast 268.
Kai waehner discusses why apache kafka became the de facto standard and backbone for microservice architectures not just replacing other traditional middleware but also building the microservices themselves using domain driven design and kafka native apis like kafka streams ksqldb and kafka connect.