kop
kop copied to clipboard
[FEATURE] Build an OauthCallbackHandler optimized for SN Cloud (java, python, go, .net, c++, rust)
Is your feature request related to a problem? Please describe. This is related to the Kafka on Pulsar feature that is being added
Describe the solution you'd like N/A
Describe alternatives you've considered N/A
Additional context The priority order for the SDKs should be as follows:
- java
- python
- go
- .net
- c++
- rust
For Java client, following the instructions here.
For other languages, I think we need to determine which client we should support. Since it's a plugin for Kafka client, we need to investigate which Kafka client we should support. And maybe there are multiple Kafka clients for the same language. We should choose one of them to support first.
I searched clients via Google for some languages:
- Python: kafka-python, confluent-kafka-python
- Go: kafka-go, sarama, confluent-kafka-go
I think it's better to specify which language we should support.
@BewareMyPower
I think the concern with the existing java implementation is what:
- It doesn't look to be entirely complete yet, with some TODOs
- It depends on pulsar libraries, which makes it a very heavy dependency.
We may want to consider some changes to make it it easier to integrate and do some additional testing.
For the other languages, we just want to see which ones are easiest to support in priority order
For each language we should also document an easy to use example of connecting with client.
I see. So the targets are more clear now.
For Java client:
- Complete these TODOs, like the expiration support
- Remove the Pulsar dependency to make it lightweight, it might mean that we need to migrate some implementations from Pulsar.
For other languages:
- Investigate some clients that are easiest to support and add the support for them
- Add some integration tests.