Giter VIP home page Giter VIP logo

esque-wire's People

Contributors

hfjn avatar swenzel avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

trellixvulnteam

esque-wire's Issues

Add support for tagged fields

Kafka has implemented a feature for so called "tagged fields".
Those are supposed to reduce the amount of data that needs to be sent between client and server and to allow for more dynamic schema evolution.
With these fields it is possible to request or provide only specific fields/data and thereby eliminating the need to send unimportant information just to comply with the protocol.
Unfortunately tagged fields are currently not well documented at http://kafka.apache.org/protocol
Some more information can be found here: https://cwiki.apache.org/confluence/display/KAFKA/KIP-482%3A+The+Kafka+Protocol+should+Support+Optional+Tagged+Fields

Need some abstraction layer for clusters

We only have a BrokerConnection class. We should create a ClusterConnection class as well, which is able to resolve and wrap all brokers in a cluster given some bootstrap servers. It should proably also inherit from BaseConnection and implement the send method.

Avoid importing everything

Due to the way the packages and imports are designed at the moment, whenever you import esque_wire you will import all serializers and all data structures even though you might not need all of them. This leaves a very bad memory footprint and needs refactoring.

Add SSL support

The BrokerConnection does not support SSL connections yet. We should add that functionality.

Fix ValueError exception when APIKey is unknown

With Kafka Version 2.5.0 you get the following exception:

ValueError: 45 is not a valid ApiKey

This is because the enumSerializer that is used to deserialize the API key doesn't allow unknown enums and when the current ApiKey enum was generated for an older Kafka version, that API didn't exist yet.
Unknown API keys should be ignored.

Need serializer for Records

Currently the primitive type RECORDS is the same as NULLABLE_BYTES. We should create a proper serializer for that.

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.