Git Product home page Git Product logo

Comments (4)

jeff-zou avatar jeff-zou commented on July 28, 2024

默认情况下map数据更新,ttl应该也更新。
你是想实现ttl只计算第一次写入时间么?

from flink-connector-redis.

ancientMuse avatar ancientMuse commented on July 28, 2024

默认情况下map数据更新,ttl应该也更新。 你是想实现ttl只计算第一次写入时间么?

是的,一些业务场景里只需要对一级key做ttl,hset只是在key有效期内更新内容

from flink-connector-redis.

jeff-zou avatar jeff-zou commented on July 28, 2024

已更新代码,增加了参数 ttl.key.not.absent, 与ttl一起使用,作用是当key不存在时才设置ttl

from flink-connector-redis.

jeff-zou avatar jeff-zou commented on July 28, 2024

https://github.com/jeff-zou/flink-connector-redis/releases/tag/1.3.1
已发布,请使用:
<dependency> <groupId>io.github.jeff-zou</groupId> <artifactId>flink-connector-redis</artifactId> <!-- 没有单独引入项目依赖Lettuce netty-transport-native-epoll依赖时 --> <!-- <classifier>jar-with-dependencies</classifier>--> <version>1.3.1</version> </dependency>

from flink-connector-redis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.