You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by GitBox <gi...@apache.org> on 2022/07/08 02:43:01 UTC

[GitHub] [incubator-seatunnel] chocolateBlack opened a new issue, #2150: [Feature][Redis Sink] Achieve a Redis Sink which there is no similar function of "info replication"

chocolateBlack opened a new issue, #2150:
URL: https://github.com/apache/incubator-seatunnel/issues/2150

   ### Search before asking
   
   - [X] I had searched in the [feature](https://github.com/apache/incubator-seatunnel/issues?q=is%3Aissue+label%3A%22Feature%22) and found no similar feature requirement.
   
   
   ### Description
   
   There is a self-achieved Redis Proxy base on Codis-Proxy, which is not able to use "info replication" command. 
   so when writing data to Redis throught this Redis Proxy, there will be error as "ERR backend server 'Replication' not found".
   
   Is There any possible to add feature to Redis Sink which no "info replication" function 
   
   Now in my situation, I recode "org.apache.seatunnel.spark.sink.Redis" output function, using a self-achieved MyRedisConfig extends "com.redislabs.provider.redis.RedisConfig"
   
   
   
   公司基于Codis-Proxy实现了Redis Proxy, 通过该代理访问集群,但是这个自实现的代理不支持info replication命令。
   导致使用Codis Sink时候,会报错"ERR backend server 'Replication' not found".
   
   有可能添加一个适配没有info replication等功能的Redis Sink
   
   我这个场景,暂时继承RedisConfig实现一个MyRedisConfig,并在org.apache.seatunnel.spark.sink.Redis的output方法中做了修改
   
   ### Usage Scenario
   
   Redis Sink On self-achieved Redis Proxy
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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@seatunnel.apache.org.apache.org

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


[GitHub] [incubator-seatunnel] chocolateBlack closed issue #2150: [Feature][Redis Sink] Achieve a Redis Sink which there is no similar function of "info replication"

Posted by GitBox <gi...@apache.org>.
chocolateBlack closed issue #2150: [Feature][Redis Sink] Achieve a Redis Sink which there is no similar function of "info replication"
URL: https://github.com/apache/incubator-seatunnel/issues/2150


-- 
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@seatunnel.apache.org

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