Giter Club home page Giter Club logo

go-redis-migrator's People

Contributors

integrii avatar jasonganub avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

go-redis-migrator's Issues

Support for TLS connections and fix TTL

Hi there!
I recently used this project to do some migrations from ElastiCache. While doing this I came a cross 2 problems.

  1. There was a bug with the TTL not being reset to 0 when the key didn't have any set.
  2. There wasn't a way to use TLS connections.

I made those changes in this fork: master...jcalonso:patch-1
I would be happy to open a proper pull request and merge this back if you consider this is something of use in the project.

Let me know :)

Can I add a feature to override TTL for all keys?

Hi Eric,

I have a use case where there are millions of existing keys that don't have a TTL and is causing the Redis storage to fill up too quickly. I am interested in adding a new command to this repo to override all keys or keys with a specific prefix with a desired TTL.

Would you be open to allowing that feature to this repo?

Thanks

install instructions missing on README.md

Hi,

I've cloned go-redis-migrator repo into GOPATH/src/gitbub.com/go-redis-migrator and I get this when trying to build this tool.

go/src/github.com/go-redis-migrator ()$ go get -v
github.com/go-redis-migrator
# github.com/go-redis-migrator
./migrate.go:278: cannot use ttlSeconds (type int64) as type time.Duration in argument to destinationCluster.commandable.Restore
./migrate.go:280: cannot use ttlSeconds (type int64) as type time.Duration in argument to destinationHost.commandable.Restore
go/src/github.com/go-redis-migrator ()$ go build
# github.com/go-redis-migrator
./migrate.go:278: cannot use ttlSeconds (type int64) as type time.Duration in argument to destinationCluster.commandable.Restore
./migrate.go:280: cannot use ttlSeconds (type int64) as type time.Duration in argument to destinationHost.commandable.Restore

Am I missing something here?

thanks :)

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.