Commit Graph

58 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
Asjad J
4fb6b2f5b7 Updated README.md
added link back to the article: https://www.baeldung.com/java-kafka-count-topic-messages
2022-08-10 09:40:12 +05: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
johnA1331
0817f636e0 Update README.md 2021-12-23 01:58:49 +08:00
Krzysiek
4caf96d556 JAVA-8794: Leave spring-kafka on Spring Boot 2.5.4 2021-12-14 16:48:53 +01: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
johnA1331
5e5dc85e88 Update README.md 2021-09-01 22:07:46 +08:00
uzma khan
873aedd740 [BAEL-4847] Kafka SSL with Spring Boot client 2021-08-21 21:04:34 +01:00
johnA1331
c4863bafa5 Update README.md 2021-07-07 23:29:24 +08:00
kaushal
e35874340d BAEL-4905: Send large messages with Kafka (#10992) 2021-07-03 15:11:51 +02:00
johnA1331
608d506d22 Update README.md 2021-07-02 05:33:10 +08:00
Tapan Avasthi
364f770144 BAEL-4855 | Monitor the Kafka Consume Lag in Java (#10866) 2021-06-25 16:22:01 -07:00
kwoyke
c77e9264d5 JAVA-5875: Upgrade Spring Boot to 2.5.1 (#10956)
* JAVA-5875: Upgrade Spring Boot to 2.5.1

* JAVA-5875: Leave jta module on Spring Boot 2.4.7

* JAVA-5875: Update spring-boot-persistence-mongodb to use embedded Mongo 3.0

* JAVA-5875: Leave spring-data-dynamodb on Spring Boot 2.4.7

* JAVA-5875: ErrorController#getErrorPath has been removed

* JAVA-5875: Fix SQL Script DataSource Initialization

* JAVA-5875: ErrorController#getErrorPath has been removed

* JAVA-5875: Fix RepositoryRestConfigurer

* JAVA-5875: Fix issues caused by rest-assured upgrade

* JAVA-5875: Upgrade spring-cloud-dependencies to 2020.0.3

* JAVA-5875: Leave spring-boot-keycloak on Spring Boot 2.4.7

* JAVA-5875: Fix data.sql script initialization

* JAVA-5875: Leave spring-security-legacy-oidc on Spring Boot 2.4.7

* JAVA-5875: Fix data.sql script initialization

* JAVA-5875: Fix data.sql script initialization

* JAVA-5875: Update de.flapdoodle.embed.mongo dependency

* JAVA-5875: Upgrade spring-cloud-dependencies to 2020.0.3

* JAVA-5875: Update Spring Cloud dependencies

* JAVA-5875: Update cloud dependencies

* JAVA-5875: Defer datasource initialization

* JAVA-5875: Fix rest assured version

* JAVA-5875: Fix Spring Batch serialization issue

* JAVA-5875: Update Spring Cloud Stream version

* JAVA-5875: Update Spring Kafka version

* JAVA-5875: Leave spring-zuul-rate-limiting on Spring Boot 2.4.7

Co-authored-by: Krzysztof Woyke <krzysztof.woyke.sp@lhsystems.com>
2021-06-26 01:20:37 +05:30
Loredana Crusoveanu
f441017651 Merge pull request #10262 from johnA1331/master
BAEL-29326 - add links to github-baeldung articles
2020-11-19 20:58:30 +02:00
Jonathan Cook
53ade388a3 BAEL-4706 - Spring Boot with Spring Batch
- Rename testcontainers test to LiveTest
2020-11-18 10:00:24 +01:00
johnA1331
23783f87d7 Update README.md 2020-11-18 16:57:40 +08: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
e69d12646b BAEL-4609 - Testing Kafka and Spring Boot (#10249)
* BAEL-4437 - System Rules

* BAEL-4687 Testing Kafka and Spring Boot

* BAEL-4609 - Testing Kafka and Spring Boot

Co-authored-by: Jonathan Cook <jcook@sciops.esa.int>
2020-11-13 10:31:59 -08: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
amit.pandey
8e069f7fc8 updated spring kafka version 2020-05-16 17:06:29 +05:30
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
catalin-burcea
2f7e94bc92 [BAEL-18783] - Fix formatting of POMs 2019-12-06 11:40:56 +02:00
Josh Cummings
e2f6187f35 Update links to https (#7931)
* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* Update README.md

* https added

* https added

* Update README.md

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added

* https added
2019-10-02 20:30:08 +03:00
Sjmillington
6809fb56d4 [BAEL-17476] - Add README descriptions 9 2019-09-20 16:14:46 +01:00
Loredana Crusoveanu
0c0aff29df Merge pull request #7217 from amit2103/BAEL-14274-20
[BAEL-14274] - Fixed article code for https://www.baeldung.com/spring…
2019-07-20 21:47:17 +03:00
Erik Pragt
0d6d9129c4 BAEL-3035 Update Spring Kafka module and article from 2.2.2 to 2.2.7 (#7266) 2019-07-09 05:18:29 -06:00
amit2103
57adf2dcfe [BAEL-14274] - Fixed article code for https://www.baeldung.com/spring-kafka 2019-06-30 01:05:30 +05:30
amit2103
aacd8866b0 [BAEL-14249] - POM Properties Cleanup 2019-05-06 00:34:04 +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
Loredana Crusoveanu
6e49a75429 Merge branch 'master' into geroza/BAEL-9523_migrate-projects-to-paren-t-pom-2 2018-12-27 22: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
geroza
29b4110b34 just migrated poms, nothing checked 2018-12-22 10:36:08 -02:00
amit2103
78735f582b [BAEL-10866] - Upgrade jackson version in tutorials repository 2018-12-16 23:57:08 +05:30
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
Sanjay Patel
cddf858c05 BAEL-5246: pom cleanup (#4620)
* BAEL-5246: round 1 of pom cleanup - upto "jersey" project

* BAEL-5246: Initial pass for pom cleanup - upto spring-cloud

* BAEL-5246: pom cleanup upto testing-modules/junit5

* BAEL-5246: pom cleanup - upto xstream

* BAEL-5246: pom cleanup - last round (before review)
2018-07-12 09:04:54 +02:00