Skip to content

Deprecating / removing low level consumer #388

@nick-zh

Description

@nick-zh

They are planning to deprecate the low-level consumer on librdkafka side soon-ish.

I see two possible ways for us:

  • deprecate it for php-rdkafka:5.0 as well
  • remove it for php-rdkafka:5.0

Personally i would be a bit more aggressive and go with the second option.
The low level (legacy) consumer can be quite challenging, especially for people starting out.
Settings behaviour can very tricky (e.g. #384), since it is different for high and low level consumer.

Overall, i don't think the low level consumer brings any advantages to the table,
it is the source of a lot of confusion (understandably so) and i myself consider it bad practice using it.
High level consumer in comparison, gives more flexibility (rebalance, etc.) and is easier to use / implement.

Please let me know what your thoughts are on this and what your usecases are if you are using
the low level consumer right now and why.

Thanks a lot in advance guys ❤️

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions