This is a parent repository for All Spring Boot Based Kafka Application
Just like any messageDrivenArchitecture
- Kafka is a gift.
messageDrivenArchitecture
promotes Loosely Coupled architecture
Kafka as in a messageDrivenArchitecture
brings both speed and reliability
messagesTTLAndMessagesRetention
What happens Kafka Consumer Slows or Goes down.kafkaMessageAudtiing
Producer sent 12 Million 24 Thousand 45 Messages in last 24 hours Did Consumer received exactly the same number of messages ?kafkaMessageRedundancy
Application is running on Multiple instanceskafkaMessageOrdering
Producer Sequencing is Same as Consumer Consuming.serializeAnddeserialize
Complex Kafka Json messages.kafkaPerformance
settingsInfraLevel
andApplicationLevel
.MillionNullMessages
optimalBatchSize
KafkaConsumer
when to do batchin and not.
- A
kafkaJMXUI
Which Can show or have an interface like ActiveMQs withProducersAndConsumers
- Possible (Jolokia)[https://jolokia.org/]
- A
bigKafkaMessage
- What are the best practises and pitfalls. - A Recovery of a Kafka Message aka Usage of RecoverHandler.
- What about Message Duplication - If my application is running on Multiple instances then what about
Duplicate Messages
? - Multiple Instance means ?
- Which one gets the data- All or One
SingleKafkaApp
running With MultipleListeners
subscribing to the same groupLoadBalancedKafkaApp
running Single or Multple Lisetener on each instance
- Which one gets the data- All or One
BlueJean is an Ecommerce Startup using followin messageDrivenArchitecture
- A
logAggregatorApp
(ELK Stack) send the user'sbrowsingActivityLogs
and activity on aKafkaTopic
.
logAggregatorApp
feeds toreccommendationEngine
(data used for AI and Monitoring) viawebUserActivityLogskafkaTopic1
- The number of concurrent users is <>.
logAggregatorApp->reccommendationEngine: webUserActivityLogskafkaTopic1
Note right of reccommendationEngine: KafkaTopic
reccommendationEngine-->promoService: User Preferences..
reccommendationEngine-->reportingEngine: Updates..
- Junit Test Data Slicing in MicroServiceArchitecture using Spring Boot.
- Junit Testing With
EmbeddedKafka
andEmbeddedZooKeeper
. - Dynamic JSON Testing - best way of not having to put json is resources and read them.
- It would be interesting to know and do RnD ,try to leverage out what other people have already done,not to sweat it.
- The Quality and Quantity of Data impacts
- The Agility of Application Development.
- The Architecture of Application.
- Limiting Testing scope and the application is still in devMode.
Kafka Data Publisher - Produces a Json Message.