Coder Social home page Coder Social logo

ameliant-tools's People

Contributors

jkorab avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ameliant-tools's Issues

Add partitioning strategy to producer

At the moment the key allocation strategy is just to use ProducerDefinition.uniqueKeyCount randomly generated strings for the key, and to modulo assign those keys to outgoing messages. The default partitioning strategy used in Kafka (key.hashcode()) is pretty crude, and does not ensure that these will be fairly assigned amongst the available topic partitions. In addition, the random generation means that the distribution will be different between test runs.

Partitioners that cache state should take topic into account

Not all topics will have the same number of partitions. Using an old computed hash that points to a non-existent partition will cause an explosion.

To test, set up a 2 topics with [2,1] partitions, [1,1] producers, [2, 2] consumers and use the sticky partitioner. Should start throwing exceptions from the single-partition producer.

kafka-perf-tool: Add accumulator for performance reporting

Currently the performance report just dumps out amongst all of the console logging. The test should accumulate the performance stats of its drivers, and either dump them to console at the end or output to a file defined through a flag.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.