Skip to content

Does argo-event support oauth with kafka with TokenProvider? #3811

@codeimmortal

Description

@codeimmortal

Is your feature request related to a problem? Please describe.
I am trying to create argo eventsource for kafka, normal kafka is working fine but oauth with TokenProvider, i don't find any docs.

Argo event does not support oauth,It support sarama config, but argo-event has not implement, TokenProvider of oauth. https://github.com/argoproj/argo-events/blob/master/pkg/eventsources/sources/kafka/start.go#L336. for oauth to work we use https://github.com/IBM/sarama/blob/v1.43.0/config.go#L108C4-L108C17, to generate token in every 30 minute if it fail. to Currently SASL is there which work with username and password.

Describe the solution you'd like
Eventsource should support use of Tokenprovider

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.


Message from the maintainers:

If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions