Commit Graph

32 Commits

Author SHA1 Message Date
cesarevalenti90
d81cbee692 BAEL-6057 - Implementing Retry In Kafka Consumer (#13229)
* Added test class for a simple shallow copy and deep copy

* Added test class for a simple shallow copy and deep copy

* refactor naming of test method

* formatted

* refactor test whenIsAShallowCopyDoneByCopyConstructor_thenImmutableObjectWillNotChange

* Renamed package and added md file

* refactor README.md

* first push

* refactor

* Revert "refactor README.md"

This reverts commit eae77c453b.

* Revert "Renamed package and added md file"

This reverts commit 42c6f97cbd.

* Revert "refactor test whenIsAShallowCopyDoneByCopyConstructor_thenImmutableObjectWillNotChange"

This reverts commit 44fb57fe2b.

* Revert "formatted"

This reverts commit 44be87ef25.

* Revert "refactor naming of test method"

This reverts commit 6133c31057.

* Revert "Added test class for a simple shallow copy and deep copy"

This reverts commit 2cae083578.

* Revert "Added test class for a simple shallow copy and deep copy"

This reverts commit f43312e2c1.

* Merge prohect java-supplier-callable to project core-java-lambdas

* adjusted package name

* removed AbstractAgeCalculator.java

* added test for supplier-callable

* first push for article "Implementing Retry In Kafka Consumer"

Co-authored-by: Cesare <cesare.valenti@hotmail.com>
2023-01-02 12:08:01 -08:00
panos-kakos
7ab48bf6f4 [JAVA-15471] Changed custom properties with spring properties (#13003)
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-11-17 01:30:33 +05:30
thibault.faure
db48b0fdd4 BAEL-5582 add code for the kafka message filtering improvement 2022-08-15 08:48:59 +02:00
Muhammad Abdullah Azam Khan
a998854249 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 28801f8517.

* 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
f43a198e96 [JAVA-12591] Fix Kafka integration test 2022-06-10 12:20:36 +01:00
Haroon Khan
1de6307efe [JAVA-12591] Fix Kafka integration test 2022-06-09 23:16:24 +01:00
Loredana Crusoveanu
2910c6b942 Merge pull request #12088 from waqasakramef/patch-2
Add placeholder
2022-05-27 21:14:33 +03:00
waqasakramef
8d58453a02 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
f7beb81944 Removed unused import "EnableAutoConfiguration" 2022-04-19 13:09:20 +05:00
Haroon Khan
5ba664e635 [JAVA-8986] Upgrade spring-kafka to latest Boot version 2022-01-14 10:28:09 +00:00
ukhan1980
38a1648023 [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
5d6285deda BAEL-5215: Remove redundant @EnableAutoConfiguration annotations (#11331) 2021-10-17 08:52:26 +02:00
uzma khan
873aedd740 [BAEL-4847] Kafka SSL with Spring Boot client 2021-08-21 21:04:34 +01:00
kaushal
e35874340d BAEL-4905: Send large messages with Kafka (#10992) 2021-07-03 15:11:51 +02:00
Tapan Avasthi
364f770144 BAEL-4855 | Monitor the Kafka Consume Lag in Java (#10866) 2021-06-25 16:22:01 -07:00
Jonathan Cook
53ade388a3 BAEL-4706 - Spring Boot with Spring Batch
- Rename testcontainers test to LiveTest
2020-11-18 10:00:24 +01:00
Jonathan Cook
b205b12619 BAEL-4706 - Spring Boot with Spring Batch
- Rename testcontainers test to LiveTest
2020-11-18 08:30:49 +01:00
Jonathan Cook
4a4143d94f BAEL-4609 - Testing Kafka and Spring Boot 2020-11-13 16:42:33 +01:00
Jonathan Cook
a7c11e732b BAEL-4687 Testing Kafka and Spring Boot 2020-11-08 13:23:31 +01:00
kwoyke
bc3ae4f0db BAEL-4541: Fix typos in the spring-kafka module (#9857) 2020-08-13 11:38:50 +02:00
Krzysiek
0648722aca JAVA-959: Migrate spring-kafka to com.baeldung 2020-03-11 21:34:23 +01:00
Sorin Zamfir
4c78adce12 BAEL-3185: Fixed formatting 2020-02-27 22:14:17 +02:00
Sorin Zamfir
8af19dc3db BAEL-3185: Fixed container factory for partition listener 2020-02-27 22:12:39 +02:00
amit2103
57adf2dcfe [BAEL-14274] - Fixed article code for https://www.baeldung.com/spring-kafka 2019-06-30 01:05:30 +05:30
amit2103
e89c0948d8 [BAEL-11415] - Initial commit with sparing-kafka version and topic creation configuration onstatup 2019-01-07 01:06:12 +05:30
geroza
40e26514f4 * Renamed IntegrationTests that needed manual configurations to run succesfully as ManualTests
* Renamed Integrationtests that needed the project (or related project, in case of client-server) as LiveTests
* Fixed migration of mustache module to make it compatible with spring-boot 2.1
2018-12-29 19:09:35 -02:00
geroza
a1b5d77656 Migrated the following modules, nos using parent-boot-2:
spring-protobuf
spring-mockito
spring-mustache
spring-kafka
spring-jooq
spring-cucumber
spring-aop
spring-amqp-simple
2018-12-22 10:36:08 -02:00
sachin29aug
889c52f1c2 BAEL-8939: Adding a Spring Context test in all Spring Modules (changes for around 27 more modules.. work in progress..) 2018-09-15 22:19:20 -04:00
amit2103
d268ffa5c9 [BAEL-7670] Added logback.xml in missing modules in src/main/resources 2018-08-05 18:40:49 +05:30
Grzegorz Piwowarek
efc2043e52 KafkaProducerConfig refactor (#1488) 2017-03-25 10:37:00 +01:00
Vivek Kumar
e884e3f924 update spring-kafka project with support for multiple partitions and JSON serializer (#1472) 2017-03-23 21:50:30 +01:00
Vivek Kumar
dbc2c49fe2 BAEL-578: Add spring-kafka module (#1407) 2017-03-16 19:34:53 +01:00