New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FLINK-15571] Add Redis sink #3
base: main
Are you sure you want to change the base?
Conversation
@eskabetxe Thanks a lot for the PR! It might make more sense for @sazzad16 and/or @chayim to review, as they are more familiar with Redis. If you rebase this PR, you should also get the CI build information so we can validate that it works as expected. Last but not least: before we merge it, we should get the FLIP accepted. There's currently a draft FLIP open (see https://cwiki.apache.org/confluence/display/FLINK/FLIP-254%3A+Redis+Streams+Connector) and I'm waiting for feedback from @sazzad16 before we can bring it up for discussion and vote in the Dev mailing list. If you have any feedback on the FLIP, feel free to let me know too! |
Hi @MartijnVisser rebase done.. |
Hi @eskabetxe, nice to meet you. I see that the user would have to set (and so know and understand) exact Redis command which I feel not very intuitive from user's perspective. Did you get to look at #2? It is based on Flink paradigm from some time ago but supports all of Sink, Source, TableSink, TableSource. It starts with Redis Streams data structure which is a great fit for Flink. Not to mention other data structures can also be supported later. Let me know what do you think about #2. Perhaps we can collaborate to update it to current Flink paradigm? |
@MartijnVisser The FLIP is great! |
Hi @sazzad16, If you already have a Redis cluster using other commands like string, hash, list you cant migrate to streams without migration? I think for example in Sink, the use of stream or other commands could be implemented with config, what will change is SinkWriter implementation.. I would be happy to talk to you about it. |
@eskabetxe Let's discuss. Would Slack be a good place for this? Or must we use mailing list? |
I think you can DM each other in the Flink Slack workspace to collaborate on this topic. If you end up that you can't agree on the correct implementation strategy, then it should be brought up for a discussion on the Dev mailing list (or reach out to the User mailing list if you're looking for feedback). |
@eskabetxe @sazzad16 Is there any update on this process? Also check out https://cwiki.apache.org/confluence/display/FLINK/Externalized+Connector+development for some more insights on how to develop an externalized connector |
Hi @MartijnVisser, it's pretty much at a standstill.
|
Hi @MartijnVisser , @sazzad16 |
Add basic RedisSink based on AsyncSinkWriter
As Jedis dont have a async call, it was implemented.
Maybe better choice was to use lettuce or Redisson libs..
Need to be added a lot of commands, its basic to allow the discussion of implementation
@knaufk could you check?