Skip to content

Long term plan for ruby-kafka #963

Closed

Description

@sadhu89

Hello! What are the plans for this library in the medium/long term? After racecar migrated from ruby-kafka to rdkafka-ruby, I saw a few comments about slowing down the development of this library in favour of rdkafka-ruby.
See:

We are trying to choose a library to write to Kafka, and saw those comments recommending rdkafka-ruby instead but it doesn't support IAM roles (A feature we need). So we are favouring ruby-kafka but we are a little bit concerned that the library could become unmaintained in the future.

Activity

  1. mensfeld commented on Nov 29, 2022

    @mensfeld
    Contributor

    As one of the contributors, I can say this library is pretty much abandoned and should no longer be considered for any production usage lasting long. As @dasch said in the comment and on a few other occasions, there is no point in trying to keep up with Kafka development when other languages use a well-established C binding and it gets more official support.

    IAM may not be supported but you can still use MSK via SASL + SSL. Here's the setup required to make it work with rdkafka: https://karafka.io/docs/Deployment/#karafka-configuration-for-aws-msk-sasl-ssl

    On top of that, I do get reports of users of Karafka 1.4 (ruby-kafka version based) that highlight either design issues, stability issues, or bugs and I do not expect them to be fixed.

    Overall: not recommended, I would consider it either in a maintenance mode or fully abandoned.

    Also, there is a KIP for this for librdkafka: https://cwiki.apache.org/confluence/display/kafka/kip-86%3a+configurable+sasl+callback+handlers I think it's just a matter of time and priorities.

  2. locked and limited conversation to collaborators on Dec 1, 2022
  3. converted this issue into a discussion #964 on Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions