From 30be766f3b056e2ca2a4808886211d2d64cfdf93 Mon Sep 17 00:00:00 2001 From: Francisco Lopez-Sancho Date: Wed, 11 Dec 2024 04:18:15 +0800 Subject: [PATCH 1/2] chore: typo --- docs/src/modules/java/pages/consuming-producing.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/modules/java/pages/consuming-producing.adoc b/docs/src/modules/java/pages/consuming-producing.adoc index e1aa74a96..e96617214 100644 --- a/docs/src/modules/java/pages/consuming-producing.adoc +++ b/docs/src/modules/java/pages/consuming-producing.adoc @@ -163,7 +163,7 @@ If a Consumer produce messages of `byte[]` type to a topic, the messages publish Producing to a topic is the same as producing to a stream in service to service eventing. The only difference is the `@Produce.ToTopic` annotation. Used to set a destination topic name. -IMPORTANT: To guarantee that events for each entity can be read from the message broker in the same order they were written the cloud event subject id must be specified in metadata along with the event. Se how to in xref:consuming-producing.adoc#_metadata[Metadata] below. +IMPORTANT: To guarantee that events for each entity can be read from the message broker in the same order they were written the cloud event subject id must be specified in metadata along with the event. See how to in xref:consuming-producing.adoc#_metadata[Metadata] below. [source,java,indent=0] .{sample-base-url}/event-sourced-counter-brokers/src/main/java/counter/application/CounterJournalToTopicConsumer.java[CounterJournalToTopicConsumer.java] From 873c9f7490702c208748ed174bc8d59414613699 Mon Sep 17 00:00:00 2001 From: Enno Runne <458526+ennru@users.noreply.github.com> Date: Wed, 11 Dec 2024 14:05:54 +0100 Subject: [PATCH 2/2] grammar Co-authored-by: Eduardo Pinto --- docs/src/modules/java/pages/consuming-producing.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/modules/java/pages/consuming-producing.adoc b/docs/src/modules/java/pages/consuming-producing.adoc index e96617214..580bac8d1 100644 --- a/docs/src/modules/java/pages/consuming-producing.adoc +++ b/docs/src/modules/java/pages/consuming-producing.adoc @@ -163,7 +163,7 @@ If a Consumer produce messages of `byte[]` type to a topic, the messages publish Producing to a topic is the same as producing to a stream in service to service eventing. The only difference is the `@Produce.ToTopic` annotation. Used to set a destination topic name. -IMPORTANT: To guarantee that events for each entity can be read from the message broker in the same order they were written the cloud event subject id must be specified in metadata along with the event. See how to in xref:consuming-producing.adoc#_metadata[Metadata] below. +IMPORTANT: To guarantee that events for each entity can be read from the message broker in the same order they were written, the cloud event subject id must be specified in metadata along with the event. See how to in xref:consuming-producing.adoc#_metadata[Metadata] below. [source,java,indent=0] .{sample-base-url}/event-sourced-counter-brokers/src/main/java/counter/application/CounterJournalToTopicConsumer.java[CounterJournalToTopicConsumer.java]