Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for async producer #33

Merged
merged 14 commits into from
Jul 11, 2013
Merged

Support for async producer #33

merged 14 commits into from
Jul 11, 2013

Commits on Jun 13, 2013

  1. Support for async producer

    The Java/Scala Kafka client supports a mechanism for sending
    messages asynchronously by using a queue and a thread.
    Messages are put on the queue and the worker thread keeps sending
    it to the broker.
    
    This ticket implements this feature in python
    We use multiprocessing instead of threads to send the messages
    mahendra committed Jun 13, 2013
    Configuration menu
    Copy the full SHA
    337127a View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into asyncproducer

    Conflicts:
    	kafka/producer.py
    mahendra committed Jun 13, 2013
    Configuration menu
    Copy the full SHA
    604d78b View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2013

  1. Add ack support for synchronous producer

    Add support for two options in the producer - req_acks and ack_timeout
    The acks, if any, are passed to the caller directly
    mahendra committed Jun 20, 2013
    Configuration menu
    Copy the full SHA
    c2c5557 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6158e29 View commit details
    Browse the repository at this point in the history
  3. Fix import errors

    mahendra committed Jun 20, 2013
    Configuration menu
    Copy the full SHA
    612dea1 View commit details
    Browse the repository at this point in the history
  4. Make the default case as 'ack on local write'

    Also, ensure that the case of 'no-acks' works fine
    In conn.send(), do not wait for the response. Wait for it only on
    conn.recv(). This behaviour is fine now since the connection is not
    shared among consumer threads etc.
    mahendra committed Jun 20, 2013
    Configuration menu
    Copy the full SHA
    e690b75 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2013

  1. Add exports in __init__

    mahendra committed Jun 24, 2013
    Configuration menu
    Copy the full SHA
    eee55ae View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2013

  1. Configuration menu
    Copy the full SHA
    ec251ef View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2013

  1. Add support for batched message send

    Also improve on the logic for stopping the async Processor instance.
    Ensure that unsend messages are sent before it is stopped.
    mahendra committed Jun 26, 2013
    Configuration menu
    Copy the full SHA
    efb1dab View commit details
    Browse the repository at this point in the history
  2. Update README with examples

    mahendra committed Jun 26, 2013
    Configuration menu
    Copy the full SHA
    0c0e163 View commit details
    Browse the repository at this point in the history
  3. Make README self-containing

    mahendra committed Jun 26, 2013
    Configuration menu
    Copy the full SHA
    c6626fe View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8b25625 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7f150a2 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2013

  1. Test cases for new producer

    mahendra committed Jun 27, 2013
    Configuration menu
    Copy the full SHA
    d2df8f5 View commit details
    Browse the repository at this point in the history