Commit Graph

32 Commits

Author SHA1 Message Date
Soby Chacko
f8d6caa429 GH-2985: Add Kafka Listener Container Customizer interfaces and documentation
Resolves https://github.com/spring-cloud/spring-cloud-stream/issues/2985

This commit introduces new customization options for Kafka listener containers
in Spring Cloud Stream, along with comprehensive documentation:

- Add KafkaListenerContainerCustomizer interface for Kafka-specific customization
  with access to extended consumer properties
- Extend ListenerContainerWithDlqAndRetryCustomizer to include access to
  extended consumer properties
- Update KafkaMessageChannelBinder to support the new customizer interfaces
- Implement KafkaListenerContainerCustomizerTests for integration testing
- Add detailed AsciiDoc reference documentation explaining the purpose,
  usage, and hierarchy of these customizer interfaces:
  * ListenerContainerCustomizer (existing)
  * KafkaListenerContainerCustomizer (new)
  * ListenerContainerWithDlqAndRetryCustomizer (extended)
- Update navigation to include the new documentation

These changes enhance the flexibility and configurability of Kafka consumer
endpoints in Spring Cloud Stream applications, allowing users to fine-tune
their listener containers based on specific requirements and scenarios,
with improved access to Kafka-specific properties.
2024-10-04 17:53:13 -04:00
Soby Chacko
42d91e0ff3 GH-2650: Observability enhancements in reactive Kafka binder
Fixes https://github.com/spring-cloud/spring-cloud-stream/issues/2650

* Enable native observability support for output binding in the reactive Kafka binder
* Adding test to verify this support with downstream consumers
* Adding ref docs
* Addressing PR review
2024-09-19 12:48:19 -04:00
Soby Chacko
a3c4364740 GH-2949: KafkaBinderHealthIndicator consumer group.id
* Add a new property in `KafkaBinderConfigurationProperties` to allow
  the users to specify a `group.id` for the metadata consumer used by the
  health indicator.

Resolves https://github.com/spring-cloud/spring-cloud-stream/issues/2949
2024-05-13 20:43:30 -04:00
Soby Chacko
7e20c9efbe Adding docs for ReactorKafkaBinderHealthIndicator
See https://github.com/spring-cloud/spring-cloud-stream/issues/2948
2024-05-13 16:08:11 -04:00
Soby Chacko
9cbd45910e GH-2926: Clarify docs on observablity when consuming in batches
Resolves https://github.com/spring-cloud/spring-cloud-stream/issues/2926

* Clarify docs on Observability when consuming records in batch mode in Kafka binder
2024-04-29 18:33:07 -04:00
Soby Chacko
a636eec47c GH-2933: Clarify docs on adding global state stores
Resolves https://github.com/spring-cloud/spring-cloud-stream/issues/2933
2024-04-09 14:44:45 -04:00
lazare
5a231df52d fixed typo in configuration-options.adoc 2024-03-25 17:52:10 -04:00
Soby Chacko
568c82d889 Fixing typo - consuming batch docs 2024-03-21 16:22:18 -04:00
Soby Chacko
a2458f3029 Clarify batch-consuming docs for Kafka binder
Based on this issue: https://github.com/spring-cloud/spring-cloud-stream/issues/2917
2024-03-14 10:54:52 -04:00
Soby Chacko
fac0c143ad GH-2560: Clarify docs on error handling/DLQ
* Clarify the docs on retry behavior in Kafka binder when max-attempts set to 1 and no DLQ

Resolves https://github.com/spring-cloud/spring-cloud-stream/issues/2560
2024-03-08 18:20:43 -05:00
Soby Chacko
b08fe14dd7 Move core error handling docs to top-level
Kafka binder error channels docs cleanup
2024-03-08 17:40:12 -05:00
Soby Chacko
05b1eadd78 Docs cleanup 2024-03-08 15:59:56 -05:00
Soby Chacko
b595302f9c Cleanup default properties docs
Resolves https://github.com/spring-cloud/spring-cloud-stream/issues/2906
2024-03-08 15:51:00 -05:00
Soby Chacko
977b5e3a4c Cleaning up Kafka Streams binder antora docs 2024-02-13 15:10:04 -05:00
Soby Chacko
b26c21aacf Fixing Kafka binder docs navigation 2024-02-01 18:49:13 -05:00
Soby Chacko
aea0e8f591 Kafka binder docs cleanup
Fixing a few broken links in config options docs
2024-01-26 15:59:25 -05:00
“claudio-code”
1bfaed9471 Changed two links 2023-12-11 10:52:35 -05:00
Soby Chacko
9b2e91dc60 Kafka Streams binder docs cleanup
- Use StreamsBuilderFactoryBeanConfigurer instead of StreamsBuilderFactoryBeanCustomizer

Resolves https://github.com/spring-cloud/spring-cloud-stream/issues/2837
2023-10-24 19:16:57 -04:00
Soby Chacko
7f899646d3 Docs changes for the DltAwareProcessor hierarchy 2023-10-17 13:14:16 -04:00
Soby Chacko
4b53c839ac Sending record keys as part of DltAwareProcessor 2023-10-12 20:26:32 -04:00
Soby Chacko
bca3dd5566 DltAwareProcessor improvements
- Instead of using a BiFunction as a delegate, use standard Function that takes the full record
 - Remove Supplier<Long> that was used to handle record time stamps since this is no longer needed
 - Docs cleanup
2023-09-26 21:34:22 -04:00
Soby Chacko
6d26ab75d2 Kafka binder antora docs cleanup 2023-09-14 11:48:01 +02:00
Soby Chacko
6cfeb744d2 More Antora error fixing and cleanup 2023-09-14 11:48:00 +02:00
Marcin Grzejszczak
1084c3f67f WIP 2023-09-14 11:48:00 +02:00
Marcin Grzejszczak
c724c0d56e Enable Section Summary TOC for small pages 2023-09-14 11:48:00 +02:00
Marcin Grzejszczak
bb4186b856 Fix cross references 2023-09-14 11:48:00 +02:00
Marcin Grzejszczak
f2cff0c609 Remove includes 2023-09-14 11:48:00 +02:00
Marcin Grzejszczak
c2278acba9 Split files 2023-09-14 11:48:00 +02:00
Marcin Grzejszczak
73394a48ef Fix indentation for all pages 2023-09-14 11:48:00 +02:00
Marcin Grzejszczak
ad39d8b9e6 Remove unnecessary asciidoc attributes 2023-09-14 11:48:00 +02:00
Marcin Grzejszczak
53dc8e151e Insert explicit ids for headers 2023-09-14 11:48:00 +02:00
Marcin Grzejszczak
4c404c6d51 Migrate Structure 2023-09-14 11:48:00 +02:00