Skip to content

Commit 3f6861d

Browse files
committed
Update changelog
1 parent 269edf3 commit 3f6861d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ v1.4.0 is a feature release. It is supported for all usage.
44

55
## Enhancements
66

7-
1. Adds support for `highWatermark`, `offsetLag()`, and `offsetLagLow()` in `eachBatch` callback (#).
7+
1. Adds support for `highWatermark`, `offsetLag()`, and `offsetLagLow()` in `eachBatch` callback (#317).
88

99

1010
# confluent-kafka-javascript v1.3.0

lib/kafkajs/_consumer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -871,7 +871,7 @@ class Consumer {
871871
if (Number.isInteger(watermarkOffsets.highOffset)) {
872872
highWatermark = watermarkOffsets.highOffset.toString();
873873
/* While calculating lag, we subtract 1 from the high offset
874-
* for compability reasons with KafkaJS's API */
874+
* for compatibility reasons with KafkaJS's API */
875875
offsetLag_ = (watermarkOffsets.highOffset - 1) - messages[messages.length - 1].offset;
876876
offsetLagLow_ = (watermarkOffsets.highOffset - 1) - messages[0].offset;
877877
}

0 commit comments

Comments
 (0)