yuemeng created BAHIR-220:

             Summary: Add redis descriptor for flink sql environment
                 Key: BAHIR-220
                 URL: https://issues.apache.org/jira/browse/BAHIR-220
             Project: Bahir
          Issue Type: Improvement
          Components: Flink Streaming Connectors
    Affects Versions: Flink-1.0
            Reporter: yuemeng

currently, for Flink-1.9.0, we can use the catalog to store our stream table 
source and sink meta.
for Redis connector, it should exist a Redis table sink so we can register it 
to catalog, and use Redis as a table in SQL environment

Redis redis = new Redis()
                .property(RedisVadidator.REDIS_NODES, REDIS_HOST+ ":" + 

                .connect(redis).withSchema(new Schema()
                .field("k", TypeInformation.of(String.class))
                .field("v", TypeInformation.of(Long.class)))

        tableEnvironment.sqlUpdate("insert into redis select k, v from t1");
        env.execute("Test Redis Set Data Type With TTL");


This message was sent by Atlassian Jira

Reply via email to