GithubHelp home page GithubHelp logo

fmonniot / embedded-redis Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kstyrc/embedded-redis

15.0 15.0 3.0 8.57 MB

Redis embedded server for Java integration testing

License: Apache License 2.0

Java 99.81% Shell 0.19%

embedded-redis's People

Contributors

anthonyu avatar enisher avatar fmonniot avatar gnethercutt avatar kstyrc avatar mpashka avatar stianl avatar turu avatar xhoong avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

embedded-redis's Issues

Startup failed error message

In case of Redis startup failed I get "Can't start redis server. Check logs for details." message.
What logs should be checked? Logs of Redis? Then it would be better to add path to the temporary folder with logs. Error message should be more concrete.
Thanks

The runner has to be specified separately

While running this on OS X I get java.lang.IllegalArgumentException: resource redis-server-3.0.7-darwin not found..

I think this bug was introduced in this fork, and does not exist in the original project.

Rename Redis.errors method

It should be named Redis.stdout or something like that as its literally the standard output of the underlying redis process.

Enable REDIS_READY_PATTERN to be configurable

Hi, I'm using Redis 4.0.8 and the startup message do not contains the sentence stated in REDIS_READY_PATTERN ".*The server is now ready to accept connections on port.*". Is there a way to make this as configurable? Since it is now encourage to bundle your own binary.

Thanks.

Make RedisCluster.Builder configurable

Right now the RedisCluster.Builder have some hardcoded values:

builder.setting("cluster-enabled yes");
builder.setting("cluster-config-file nodes-" + port + ".conf");
builder.setting("cluster-node-timeout 2000");
builder.setting("appendonly yes");
builder.setting("dbfilename dump-" + port + ".rdb");

Those should be configurable via the Builder interface.

Find out why the upload to bintray fail

$ ./deploy.sh

Deploying to Bintray

:generatePomFileForLibPublication

:compileJava UP-TO-DATE

:processResources NO-SOURCE

:classes UP-TO-DATE

:jar UP-TO-DATE

:javadoc UP-TO-DATE

:javadocJar UP-TO-DATE

:sourcesJar UP-TO-DATE

:publishLibPublicationToMavenLocal

:modules:redis-3.0.7:generatePomFileForLibPublication

:modules:redis-3.0.7:compileJava UP-TO-DATE

:modules:redis-3.0.7:processResources UP-TO-DATE

:modules:redis-3.0.7:classes UP-TO-DATE

:modules:redis-3.0.7:jar UP-TO-DATE

:modules:redis-3.0.7:javadoc UP-TO-DATE

:modules:redis-3.0.7:javadocJar UP-TO-DATE

:modules:redis-3.0.7:sourcesJar UP-TO-DATE

:modules:redis-3.0.7:publishLibPublicationToMavenLocal

:modules:redis-3.0.7:bintrayUpload FAILED



FAILURE: Build failed with an exception.



* What went wrong:

Execution failed for task ':modules:redis-3.0.7:bintrayUpload'.

> java/util/function/Consumer



* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.



BUILD FAILED

Only for integration testing?

Hi, would this project be enough for a simple use case using Redis on production?
My idea was to be able to start/stop redis without having to install a separate Redis so the packaging of my app is simpler.
Do you know any problem that could happen?
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.