-
Notifications
You must be signed in to change notification settings - Fork 13.5k
[FLINK-15571][connector] Redis Stream connector for Flink #15487
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
Conversation
Thanks a lot for your contribution to the Apache Flink project. I'm the @flinkbot. I help the community Automated ChecksLast check on commit 5f3ad56 (Fri May 28 11:06:32 UTC 2021) Warnings:
Mention the bot in a comment to re-run the automated checks. Review Progress
Please see the Pull Request Review Guide for a full explanation of the review process. The Bot is tracking the review progress through labels. Labels are applied according to the order of the review items. For consensus, approval by a Flink committer of PMC member is required Bot commandsThe @flinkbot bot supports the following commands:
|
@rmetzger How to improve from review=[description]? Is there anything I can do from my side? PS: I plan to add documentation after the implementation is finalized. Thank you. |
Hi, @sazzad16 . Thanks for opening the PR. However, as the Automated Checks describe, we should first reach a consensus in JIRA ticket and then push the PR. I think you can:
|
@KarmaGYZ Thank you for your response. Briefly speaking, this is a simple idea. i) Save data into Redis. ii) Get data from Redis. So I'm not sure about what to do here. Could you please refer to an example (design doc)? Thanks again! |
@sazzad16 Maybe you can refer to this FLIP. All in all, I think we should reach a consensus on whether we need this connector first. Just like Yun Tang's comment on FLINK-15571. |
@KarmaGYZ It'll be helpful. Thank you. |
@KarmaGYZ how one can add a new FLIP? |
@MartijnVisser We'd love to. Let us know how to proceed. |
@sazzad16 We're currently in the process of externalizing connectors from Flink's main repository to their own individual repositories. For example, the Elasticsearch connector is being moved from this repo to https://github.com/apache/flink-connector-elasticsearch. While working on moving out Elasticsearch, we're also creating some templates/examples/archetype for all other connectors. The idea would be that we create a new repo for Redis, flink-connector-redis. You could open up PRs against that repo. A Source should be build via the Source API (see FLIP-27 https://cwiki.apache.org/confluence/display/FLINK/FLIP-27%3A+Refactor+Source+Interface) and Sinks using the Unified Sink API / ASync API (see FLIP-143 https://cwiki.apache.org/confluence/display/FLINK/FLIP-143%3A+Unified+Sink+API and FLIP-171 https://cwiki.apache.org/confluence/display/FLINK/FLIP-171%3A+Async+Sink). This also depends on the level of guarantees (at least once, at most once, exactly once etc) you want to guarantee. There are maintainers in the Flink community who can help with reviews for these type of implementations. |
@MartijnVisser that sounds like a great plan, when do you plan to open the new repo? (@chayim) |
@gkorland I'll open an announce thread on the Dev mailing list today and I'll find a PMC who can create a repo. Would take a couple of days at most |
@gkorland @chayim Apologies for the slight delay, but the repo is there. You can find it at https://github.com/apache/flink-connector-redis The current best implementation can be found at https://github.com/apache/flink-connector-elasticsearch Please ping me in case you have any questions or remarks |
Thanks @MartijnVisser. Appreciate it! |
Mostly brought from apache/flink#15487
@MartijnVisser Just submitted the PR apache/flink-connector-redis-streams#2 in the new repo. Please consider that as work in progress and it would be great to get some initial reviews. |
Mostly brought from apache/flink#15487
This PR is being marked as stale since it has not had any activity in the last 180 days. If you are having difficulty finding a reviewer, please reach out to the [community](https://flink.apache.org/what-is-flink/community/). If this PR is no longer valid or desired, please feel free to close it. If no activity occurs in the next 90 days, it will be automatically closed. |
This PR has been closed since it has not had any activity in 120 days. |
What is the purpose of the change
Introduce a new Flink connector with Redis Stream data structure.
Brief change log
Verifying this change
This change added tests and can be verified as follows:
Does this pull request potentially affect one of the following parts:
@Public(Evolving)
: noDocumentation