Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lhmzhou/radikatz
lightweight Vert.x application to show how to interact with Redis
https://github.com/lhmzhou/radikatz
redis vertx
Last synced: 26 days ago
JSON representation
lightweight Vert.x application to show how to interact with Redis
- Host: GitHub
- URL: https://github.com/lhmzhou/radikatz
- Owner: lhmzhou
- Created: 2020-06-20T23:44:34.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-11-15T23:51:10.000Z (about 2 years ago)
- Last Synced: 2023-02-24T11:02:21.532Z (almost 2 years ago)
- Topics: redis, vertx
- Language: Java
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# radikatz
`radikatz` demonstrates how an example Vert.x API interacts with a thread-safe Redis data-structure server shared across different verticle instances.
## Pregaming
- a Redis server instance configured and running on your network
- JDK8
- Maven## Usage
To run `radikatz`, you'll need a running Redis instance. You can configure the verticles with the following redis host:
```
{
"redisConfig": {
"host": "redis.8080.cache.com",
"port": 8080,
"eventBusAddress": "address_where_redis_handler_is_registered"
}
}
```## Build
On a Mac, you can choose to install redis by running: `brew install redis`.
Start up Redis locally and set the REDISTOGO_URL environment variable:
`$ export REDISTOGO_URL="redis://:@localhost:8080"`
Build the sample:
```
$ mvn clean package
$ java -jar target/radikatz-1.0.0-SNAPSHOT-fat.jar
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building radikatz 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
...
```## See Also
[Messaging with Redis](https://spring.io/guides/gs/messaging-redis/)
[Accessing Data Reactively with Redis](https://spring.io/guides/gs/spring-data-reactive-redis/)
[JEDIS — Simple guide to use the Java Redis Library](https://medium.com/@karthikcsridhar/jedis-simple-guide-to-use-the-java-redis-library-18267221797b)
[vertx-awesome](https://github.com/vert-x3/vertx-awesome)