Skip to content

Commit

Permalink
Add links to guides for Micronaut Kafka (#936)
Browse files Browse the repository at this point in the history
  • Loading branch information
wetted authored Dec 14, 2023
1 parent 0f0a00a commit 5081698
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/docs/guide/kafkaCli.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ $ mn create-kafka-producer MessageProducer
$ mn create-kafka-listener MessageListener
| Rendered template Listener.java to destination src/main/java/my/kafka/app/MessageListener.java
----

TIP: See the guide for https://guides.micronaut.io/latest/micronaut-kafka.html[Kafka and the Micronaut Framework - Event-driven Applications] to learn more.
3 changes: 3 additions & 0 deletions src/main/docs/guide/kafkaGuides.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
See the following list of guides to learn more about working with Kafka in the Micronaut Framework:

https://guides.micronaut.io/latest/tag-kafka.html
2 changes: 2 additions & 0 deletions src/main/docs/guide/kafkaListener.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,5 @@ kafka:
----

Any property in the link:{kafkaapi}\/org/apache/kafka/clients/consumer/ConsumerConfig.html[ConsumerConfig] class can be set for all `@KafkaListener` beans based on the . The above example will enable the consumer to create a topic if it doesn't exist for the `default` (`@KafkaListener`) client and set a custom bootstrap server for the `product` client (`@KafkaListener(value = "product")`)

TIP: See the guide for https://guides.micronaut.io/latest/testing-micronaut-kafka-listener-using-testcontainers.html[Testing Kafka Listener using Testcontainers with the Micronaut Framework] to learn more.
1 change: 1 addition & 0 deletions src/main/docs/guide/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ kafkaStreams:
kafkaStreamInteractiveQuery: Interactive Query Service
kafkaStreamHealth: Kafka Stream Health Checks
kafkaStreamExceptions: Handling Uncaught Exceptions
kafkaGuides: Guides
repository: Repository

0 comments on commit 5081698

Please sign in to comment.