A modern Apache Kafka client for node.js
MIT License
Bot releases are hidden (Show)
groupId
in debug log when failing to find group coordinator #1522Published by tulios almost 2 years ago
Published by tulios about 2 years ago
Published by tulios about 2 years ago
Published by tulios about 2 years ago
alterPartitionReassignments
& listPartitionReassignments
#1419Published by tulios over 2 years ago
pause
function to eachMessage
/eachBatch
to pause the current topic-partition #1364KafkaMessage
type is now a union between the pre-Kafka 0.10 message format and the current #1401Published by tulios over 2 years ago
consumer.seek
when seeking on multiple partitions for the same topic #1378Published by tulios over 2 years ago
REPLICA_NOT_AVAILABLE
retriable #1351admin.createTopics
respecting cluster default partitions number and replication factor #1360Published by tulios over 2 years ago
⚠️ This is the first major version released in 4 years, and contains a few important breaking changes. A migration guide has been prepared to help with the migration process. Be sure to read it before upgrading from older versions of KafkaJS.
Big thanks to @priitkaard for contributing some amazing performance improvements included in this release! Expect to see higher throughput and more efficient resource utilization compared to previous versions, especially in scenarios where you have an uneven distribution of messages across partitions.
topics
argument for consumer.subscribe
to subscribe to multiple topics #1313ResourceTypes
#1334topic
from admin.fetchOffsets
#1335getTopicMetadata
from admin client #1336TopicPartitionOffsetAndMedata
#1338cause
#1341Published by tulios over 2 years ago
eachMessage
handler #1255rebalancing
consumer event #1067 #1079configSource
in admin.decribeConfigs
#1023topics
property to admin.fetchOffsets
to fetch offsets for multiple topics #992 #998admin.createTopic
#1104brokers
list contains strings #1284consumer.seek
when autoCommit
is false
#1012warn
#1279offset
type of consumer.seek
#981null
key #1037heartbeatInterval
when invoking heartbeat
concurrently #1026timestamp
of LoggerEntryContent
to be string #1082admin.describeAcls
#1118DISCONNECTING
state if in-flight requests time out during disconnect #1208admin.deleteTopicRecords
with offset -1
#1265Published by tulios almost 4 years ago
admin.fetchOffsets
to resolve the offsets #895admin.deleteTopicRecords
#905GROUP_JOIN
event on stale partition assignments #937UNKNOWN_TOPIC_OR_PARTITION
check for addMultipleTargetTopics
#938ConfigResourceTypes
) #898onError
handler #944onTimeout
handler #956Published by tulios about 4 years ago
Published by tulios about 4 years ago
This is a large release containing fixes and features from a multitude of contributors. Some notable changes:
KafkaMessage.value
from Buffer
to Buffer | null
. This was in fact always the behavior at runtime, so this change is just fixing a bug in the types - but it will require you to handle the value being null
for your project to build.Published by tulios over 4 years ago
logLevel
argument of logCreator
#538Published by tulios about 5 years ago
throttle_time_ms
to 0 if missing in ApiVersions
response #495randomBytes()
#462IHeaders
type definition (from string to Buffer) #467ResourceType
to ResourceTypes
#468configNames
optional in ResourceTypes
#474transactionState.ABORTING
value #478Published by tulios about 5 years ago
consumer.commitOffsets
for manual committing #436fetchTopicMetadata
return type #433Published by tulios over 5 years ago
Published by tulios over 5 years ago
Published by tulios over 5 years ago
Published by tulios over 5 years ago