forked from Jroland/kafka-net
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue:(Consumers across multi-partitions / Consumers with Broker fail…
…ure #13)[#13] Change list: * KafkaTcpSocket: * Stop disposing the task _socketTask on KafkaTcpSocket (Microsoft best practice). * Return BrokerConnectionException if there is a any exception that not dispose(before was mix exceptions). * Add CancellationToken to NetStream WriteAsync. * Change log level of some message to debug and not worn. * Add Log details on with contention write this log to identify the broker. * Remove some of the log message. * Kafka Concoction * Add Log details to identify the broker. * Change log to write on the first failure/recover to remove a lot of unnecessary log message. * Consumers * Refresh metadata on BrokerConnectionException. * Use broker Log. * BrokerRouter: * It use internally concurrentDictionary of concoction in a way it create new concoction even when it didn't have to ,now it create only if necessary. * ProtocolGateway * Add log * Add more retry * Test: *Missing Test: * BrokerRouter create new concoction on when broker IP change. * BrokerRouter not create new concoction on refresh metadata when noting change. * Add manual tests that you can play with your Kafka server and see that it still know how to recover. * ConsumerFailure * ManualConsumerFailure * fix the unit-test after the change in the log *In our Kafka we stop creating topic on demand because it make a mass, so we Ignore all test that create topic
- Loading branch information
erano.of
committed
Feb 16, 2016
1 parent
b11117c
commit 9a77581
Showing
20 changed files
with
407 additions
and
180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.