Skip to content

Commit d697fb4

Browse files
Update content/microservices/kafka.md
1 parent 879ab61 commit d697fb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/microservices/kafka.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ interface IncomingMessage {
342342
}
343343
```
344344

345-
If your endpoint involves slow processing time for each message you should consider using the `heartbeat` callback. To do this, use the `getHeartbeat()` method of the `KafkaContext` which will send heartbeat to the broker, as follows:
345+
If your handler involves a slow processing time for each received message you should consider using the `heartbeat` callback. To retrieve the `heartbeat` function, use the `getHeartbeat()` method of the `KafkaContext`, as follows:
346346

347347
```typescript
348348
@@filename()

0 commit comments

Comments
 (0)