Ihar Hancharenka 193d77255c m
2025-01-01 22:17:19 +03:00

113 строки
4.9 KiB
Plaintext

Apache Kafka support
http://projects.spring.io/spring-kafka/
https://github.com/spring-projects/spring-kafka
https://docs.spring.io/spring-kafka/reference/html/
https://docs.spring.io/spring-kafka/reference/htmlsingle/
cfg
https://github.com/spring-projects/spring-boot/tree/main/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/kafka
https://github.com/spring-projects/spring-boot/blob/main/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/kafka/KafkaProperties.java
testing
2024
https://habr.com/ru/articles/824594/
https://habr.com/ru/companies/alfastrah/articles/816057/
batching
https://stackoverflow.com/questions/58492689/how-to-send-batched-data-with-spring-kafka-producer
2020
https://medium.com/@shrutishrm17/kafka-batch-processing-in-spring-boot-fc6c58f857fa
api
https://docs.spring.io/spring-kafka/api/org/springframework/kafka/core/KafkaTemplate.html
ex-err
https://docs.spring.io/spring-kafka/reference/kafka/annotation-error-handling.html
@Bean
CommonErrorHandler kafkaErrorHandler() {
return new KafkaErrorHandler();
}
https://medium.com/javarevisited/robust-kafka-consumer-error-handling-on-a-spring-boot-3-application-6fc95e92c956
@RetryableTopic, Listeners with Acknoledgement
idempotence
configProps.put(ProducerConfig.ENABLE_IDEMPOTENCE_CONFIG, true);
jaas
https://kafka.apache.org/documentation/#security_jaas_client
testing
https://docs.spring.io/spring-kafka/reference/testing.html
MockProducer, MockConsumer, assertj kafka-related assertions
https://testcontainers.com/guides/testing-spring-boot-kafka-listener-using-testcontainers/
https://www.baeldung.com/spring-boot-kafka-testing
compression
https://medium.com/swlh/exploit-apache-kafkas-message-format-to-save-storage-and-bandwidth-7e0c533edf26
ser-de
https://docs.spring.io/spring-kafka/reference/kafka/serdes.html
presentations
2022
SpringIO - Spring Kafka beyond the basics - Lessons learned on our Kafka journey at ING Bank by Tim van Baarsen 0:00 of 44:04
https://www.youtube.com/watch?v=j2TeOyjoAZc
articles
2024
https://www.baeldung.com/spring-kafka
@KafkaListenerAnnotation has containerFactory attribute
Programming Techie - Spring Boot Microservices Tutorial Part 11 - Integrating Kafka with Schema Registry 0:00 of 58:42
https://www.youtube.com/watch?v=BObDQv_sCb4
https://javatechonline.com/how-to-work-with-apache-kafka-in-spring-boot/
https://habr.com/ru/articles/797049/
testing
https://habr.com/ru/articles/781812/
https://medium.com/ing-tech-romania/implementing-a-basic-kafka-producer-and-consumer-using-spring-boot-spring-kafka-and-avro-schema-2b6d06e6c4cf
2023
https://habr.com/ru/companies/slurm/articles/772818/
@Bean
public KafkaTemplate<String, String> kafkaTemplate() {
return new KafkaTemplate<>(producerFactory()); // can have multiple producer factories
}
RoutingKafkaTemplate
https://medium.com/simform-engineering/kafka-integration-made-easy-with-spring-boot-b7aaf44d8889
https://nuancesprog.ru/p/19474/
https://blog.devgenius.io/consume-the-same-data-with-different-consumer-groups-in-kafka-spring-boot-e7ba8cce31df
https://nuancesprog.ru/p/19547/
https://www.baeldung.com/spring-kafka-multiple-listeners-same-topic
https://www.baeldung.com/spring-retry-kafka-consumer
https://github.com/eugenp/tutorials/tree/master/spring-kafka-2
2022
https://piotrminkowski.com/2022/01/24/distributed-transactions-in-microservices-with-kafka-streams-and-spring-boot/
https://github.com/piomin/sample-spring-kafka-microservices
https://betterprogramming.pub/kafka-with-java-spring-and-docker-asynchronous-communication-between-microservices-e1d00e120831
https://habr.com/ru/company/otus/blog/663264/
2021
https://spring.io/blog/2021/02/03/demystifying-spring-cloud-stream-producers-with-apache-kafka-partitions
2020
https://www.confluent.io/blog/apache-kafka-spring-boot-application/
https://arnoldgalovics.com/fault-tolerant-and-reliable-messaging-with-kafka-and-spring-boot/
https://habr.com/ru/post/505720/
https://habr.com/ru/company/megafon/blog/504422/
https://habr.com/ru/post/496182/
2019
https://www.confluent.io/blog/spring-for-apache-kafka-deep-dive-part-2-apache-kafka-spring-cloud-stream
https://www.confluent.io/blog/spring-for-apache-kafka-deep-dive-part-1-error-handling-message-conversion-transaction-support
2018
https://www.javacodegeeks.com/2018/03/spring-cloud-stream-kafka.html
samples
https://thepracticaldeveloper.com/spring-boot-kafka-config/
https://hub.docker.com/r/wurstmeister/kafka/
http://wurstmeister.github.io/kafka-docker/
https://github.com/wurstmeister/kafka-docker/wiki
https://github.com/wurstmeister/kafka-docker/wiki/Connectivity
whats new
https://docs.spring.io/spring-kafka/docs/2.9.0/reference/html/#whats-new-part
https://spring.io/blog/2018/02/22/spring-for-apache-kafka-2-1-3-spring-integration-kafka-3-0-2-are-available