Commit Graph

22 Commits

Author SHA1 Message Date
thibault.faure 90ccda2db3 BAEL-5582 add code for the kafka message filtering improvement 2022-08-15 08:48:59 +02:00
Muhammad Abdullah Azam Khan ef0b7ea20c Update KafkaApplication.java (#12424)
* Update KafkaApplication.java

Added partition offset to the listener so that it can start consuming the messages from the beginning of the topic.

* Revert "Update KafkaApplication.java"

This reverts commit 28801f85174af8bf2d2bb89e1fb39b52c49a6cf0.

* Counting Messages

1. Counting messages from Producer offset
2. Counting messages from Consumer
3. Rest APIs to view the count

* Refactoring

* Adding 3rd programmatic method to count number of messages in Kafka topic

* Removing irrelevant code

* Server port removed
2022-08-08 09:33:20 +05:30
Haroon Khan 71c1d44cca [JAVA-12591] Fix Kafka integration test 2022-06-10 12:20:36 +01:00
Haroon Khan 19a08f66d9 [JAVA-12591] Fix Kafka integration test 2022-06-09 23:16:24 +01:00
Loredana Crusoveanu 0e35fc7090 Merge pull request #12088 from waqasakramef/patch-2
Add placeholder
2022-05-27 21:14:33 +03:00
waqasakramef c53a703587 Add placeholder
The placeholder is mentioned in the kafkaConsumer.java but didn't defined in the applications.prop. So we need to defined that.

Current exception is as follow.

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kafkaConsumer' defined in file [/Users/mac/Library/Mobile Documents/com~apple~CloudDocs/development/kafka-poc/producer/target/classes/com/ef/kafka/embedded/KafkaConsumer.class]: Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'test.topic' in value "${test.topic}"
2022-04-19 13:22:22 +05:00
waqasakramef fabe999b3e Removed unused import "EnableAutoConfiguration" 2022-04-19 13:09:20 +05:00
Haroon Khan 400143063a [JAVA-8986] Upgrade spring-kafka to latest Boot version 2022-01-14 10:28:09 +00:00
ukhan1980 c50e8d7425 [BAEL-5223] Add code for Spring Boot Streams article (#11568)
Co-authored-by: uzma khan <uzma.khan@nominet.uk>
2021-12-10 22:58:11 -06:00
kwoyke 125aa509c0 BAEL-5215: Remove redundant @EnableAutoConfiguration annotations (#11331) 2021-10-17 08:52:26 +02:00
uzma khan d1be3ca43a [BAEL-4847] Kafka SSL with Spring Boot client 2021-08-21 21:04:34 +01:00
kaushal 9930b4c945 BAEL-4905: Send large messages with Kafka (#10992) 2021-07-03 15:11:51 +02:00
Tapan Avasthi 52495bef53 BAEL-4855 | Monitor the Kafka Consume Lag in Java (#10866) 2021-06-25 16:22:01 -07:00
Jonathan Cook 8e477f4d9c BAEL-4706 - Spring Boot with Spring Batch
- Rename testcontainers test to LiveTest
2020-11-18 10:00:24 +01:00
Jonathan Cook a26085b266 BAEL-4706 - Spring Boot with Spring Batch
- Rename testcontainers test to LiveTest
2020-11-18 08:30:49 +01:00
Jonathan Cook a51e034186 BAEL-4609 - Testing Kafka and Spring Boot 2020-11-13 16:42:33 +01:00
Jonathan Cook eb3631f36f BAEL-4687 Testing Kafka and Spring Boot 2020-11-08 13:23:31 +01:00
kwoyke 6ce7fee3ff BAEL-4541: Fix typos in the spring-kafka module (#9857) 2020-08-13 11:38:50 +02:00
Krzysiek 90075c2f38 JAVA-959: Migrate spring-kafka to com.baeldung 2020-03-11 21:34:23 +01:00
Sorin Zamfir 002b937923 BAEL-3185: Fixed formatting 2020-02-27 22:14:17 +02:00
Sorin Zamfir 16b8a61b16 BAEL-3185: Fixed container factory for partition listener 2020-02-27 22:12:39 +02:00
Eric Martin 3225470df5 Merge pull request #8125 from eugenp/revert-8119-BAEL-3275-2
Revert "BAEL-3275: Using blocking queue for pub-sub"
2019-10-31 20:43:47 -05:00