You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by GitBox <gi...@apache.org> on 2022/08/11 06:59:03 UTC

[GitHub] [inlong] yunqingmoswu opened a new pull request, #5481: [INLONG-5447][Sort] Add lookup support for redis

yunqingmoswu opened a new pull request, #5481:
URL: https://github.com/apache/inlong/pull/5481

   ### Prepare a Pull Request
   *(Change the title refer to the following example)*
   
   Title: [INLONG-5447][Sort] Add lookup support for redis
   *(The following *XYZ* should be replaced by the actual [GitHub Issue](https://github.com/apache/inlong/issues) number)*
   
   Fixes #5447 
   
   ### Motivation
   
   I want to support lookup join with redis, so it is necessary to implement redis connector and support lookup query.
   
   ### Modifications
   
   Sort will supports lookup for redis.
   
   ### Verifying this change
   
   *(Please pick either of the following options)*
   
   - [ ] This change is a trivial rework/code cleanup without any test coverage.
   
   - [x] This change is already covered by existing tests, such as:
     *(please describe tests)*
   
   - [ ] This change added tests and can be verified as follows:
   
     *(example:)*
     - *Added integration tests for end-to-end deployment with large payloads (10MB)*
     - *Extended integration test for recovery after broker failure*
   
   ### Documentation
   
     - Does this pull request introduce a new feature? (yes / no)
     - If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
     - If a feature is not applicable for documentation, explain why?
     - If a feature is not documented yet in this PR, please create a follow-up issue for adding the documentation
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [inlong] healchow commented on a diff in pull request #5481: [INLONG-5447][Sort] Add lookup support for redis

Posted by GitBox <gi...@apache.org>.
healchow commented on code in PR #5481:
URL: https://github.com/apache/inlong/pull/5481#discussion_r945091989


##########
inlong-sort/sort-connectors/redis/src/main/java/org/apache/inlong/sort/redis/common/container/InLongRedisClusterContainer.java:
##########
@@ -0,0 +1,115 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.inlong.sort.redis.common.container;
+
+import org.apache.flink.streaming.connectors.redis.common.container.RedisClusterContainer;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import redis.clients.jedis.JedisCluster;
+
+/**
+ * The redis cluster contain expand from {@link RedisClusterContainer}
+ */
+public class InLongRedisClusterContainer extends RedisClusterContainer implements InLongRedisCommandsContainer {

Review Comment:
   Suggested changing to `InlongRedisXxx`.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [inlong] thesumery commented on pull request #5481: [INLONG-5447][Sort] Add lookup support for redis

Posted by GitBox <gi...@apache.org>.
thesumery commented on PR #5481:
URL: https://github.com/apache/inlong/pull/5481#issuecomment-1212673579

   Should we add more comment for what we have modified compared to original source code?Otherwise we will soon forget the difference between the original code and our modified code.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [inlong] yunqingmoswu merged pull request #5481: [INLONG-5447][Sort] Add lookup support for Redis

Posted by GitBox <gi...@apache.org>.
yunqingmoswu merged PR #5481:
URL: https://github.com/apache/inlong/pull/5481


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org