We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96ee5c2 commit c702510Copy full SHA for c702510
spring-kafka-docs/src/main/antora/modules/ROOT/pages/kafka/sending-messages.adoc
@@ -184,7 +184,7 @@ This section shows examples of sending messages to Kafka:
184
public void sendToKafka(final MyOutputData data) {
185
final ProducerRecord<String, String> record = createRecord(data);
186
187
- CompletableFuture<SendResult<Integer, String>> future = template.send(record);
+ CompletableFuture<SendResult<String, String>> future = template.send(record);
188
future.whenComplete((result, ex) -> {
189
if (ex == null) {
190
handleSuccess(data);
0 commit comments