Skip to content

Commit c702510

Browse files
authored
Update sending-messages.adoc (#3549)
1 parent 96ee5c2 commit c702510

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-kafka-docs/src/main/antora/modules/ROOT/pages/kafka/sending-messages.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ This section shows examples of sending messages to Kafka:
184184
public void sendToKafka(final MyOutputData data) {
185185
final ProducerRecord<String, String> record = createRecord(data);
186186
187-
CompletableFuture<SendResult<Integer, String>> future = template.send(record);
187+
CompletableFuture<SendResult<String, String>> future = template.send(record);
188188
future.whenComplete((result, ex) -> {
189189
if (ex == null) {
190190
handleSuccess(data);

0 commit comments

Comments
 (0)