You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7.4 KiB

kafka-node CHANGELOG

2016-10-03, Version 0.5.9

  • Fix issue with highLevelConsumers and how consumer groups react to zookeeper redeploys creating a lot of [NODE_EXISTS] errors #472
  • Removed docker-machine support for tests #474
  • Minor fixes and additions to doc #475 #471

2016-09-12, Version 0.5.8

  • Fix duplicate messages consumed on startup this was triggered by unnecessary rebalance (versions affected: v0.5.4 to v0.5.7) #465

2016-09-07, Version 0.5.7

  • Fix regression when calling consumer's setOffset fails to set the given offset #457
  • Improved zookeeeper connection loss recovery to verify consumer is still registered #458

2016-08-17, Version 0.5.6

  • Fix older version of node issue introduced in last version #447

2016-08-11, Version 0.5.5

  • Updated doc #443
  • Validate topic's partition value to be a number #442
  • Fixed issue where module was relying on deprecated kafka configs (especially broken when SSL is enabled) #427

2016-08-09, Version 0.5.4

  • Fix lost client options when creating a Client w/o the new operator #437
  • Fix issue rebalances can be missed when an event occurs during rebalance #435
  • Fix issue where changes to a topic's number of partitions should trigger a rebalance #430
  • Added coverall coverage and additional tests #433 and #432

2016-08-05, Version 0.5.3

  • Fix for some long standing high-level consumer rebalance issues: #423
    • Fixed issue where consumers who weren't assigned a partition would never rebalance... ever
    • Fixed issue where calling close consumer did not force the consumer to leave the consumer group and so locks the partition(s) for (the default) of 30000ms
    • Fixed issue where consumers who weren't assigned a partition never emitted a rebalance event after rebalancing
    • Additional cases to be addressed in the next release:
      • If consumer joins or leaves a group during another consumers rebalance then that rebalancing consumer may miss owning partitions
      • Changes to a topic's partition does not trigger a rebalance
  • Update doc to warn about possible data loss with way the data is formated when sending with the producer #425
  • Added code coverage and additional high-level producer tests #422

2016-07-29, Version 0.5.2

  • Fix TypeError: Cannot read property 'sslHost' of undefined #417

2016-07-27, Version 0.5.1

  • Prevent fetch before offset's are updated before a rebalance #402
  • Add validation to groupId and clientId #405
  • Removed unused autoCommitMsgCount config option #406
  • Fixed issue where reconnecting brokers emits a connect event instead of reconnect. #413
  • Fixed uncaught exception where sslHost or host of undefined is accessed. #413

2016-07-14, Version 0.5.0

  • Fix minimatch vulnerability by upgrading snappy to v5.0.5 #400
  • Added ESLint to codebase #392
  • Added ability to make SSL connections to brokers #383 (Kafka 0.9+ only)

2016-06-27, Version 0.4.0

  • Update test to run against docker #387
  • Fix missing npm license field warning #386
  • Recreate broker sockets to work around nodejs socket issue #4417 #385
  • Fixes #319 UnknownTopicOrPartition error when reassigning topic #384
  • Add offset#getLatestOffsets function to get all the latest offsets from a group of topics populating those topics partitions #372

2016-05-27, Version 0.3.3

  • Fix type error while producing messages #360
  • Update README #307 and #352
  • Add contributing guidelines #346
  • Make Snappy an optional dependency #347

2016-02-21, Version 0.3.2

  • Fix client socket when closing and error handling #314
  • Make commit() handle case when only callback is passed #306
  • Fix typo in offset.js #304

2016-01-09, Version 0.3.1

  • Buffer batch for async producers #262

2016-01-08, Version 0.3.0

  • Add partitions to producer #260

2015-05-11, Version 0.2.27

  • Deps: upgrade snappy to 3.2.0
  • Zookeeper#listConsumers: ignore error when there is no such node in zookeeper

2015-04-23, Version 0.2.26

  • Fix: add callback to consumer.autoCommit method #198
  • Emit an error when there is a problem with the socket connection to the kafka broker #196
  • Fix: emit the error instead of slient swallow it #193
  • Typo in error message #189

2015-04-01, Version 0.2.25

  • Producer support requireAcks option #187
  • Update examples #185

2015-03-20, Version 0.2.24

  • Bump deps
  • Refresh metadata after auto rebalance among brokers #180
  • Initialize partition owner with consumerId #178

2015-03-17, Version 0.2.23

  • Fix #175: Refresh topic metadata in Producer when broker change
  • Refactor Client#refreshMetadata method
  • Add the missing semicolons, no offense, just keep style.
  • Fix #170: In case of offsetOutOfRange, the consumer should be paused.
  • Fix #169: When paused why try to fetch every 1000 ms?
  • Ref: remove unused variables.