Skip to content

Add retry support for producer #40

@mahendra

Description

@mahendra

I feel, we must add some retry support for producer.

If client.send_produce_request() fails, because a broker (for a partition) goes down, we can simply do

  • conn.close() and
  • client.conns.pop(broker)
  • try sending the message again, possibly after a retry delay.

This will ensure that the new broker for a partition will come up and we can send the message again.

This can be done after #33 is merged.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions