https://github.com/eltonsandre/spring-redis-sample
Exemplo de conexão com Redis Sentinel
https://github.com/eltonsandre/spring-redis-sample
Last synced: 7 months ago
JSON representation
Exemplo de conexão com Redis Sentinel
- Host: GitHub
- URL: https://github.com/eltonsandre/spring-redis-sample
- Owner: eltonsandre
- Created: 2023-06-02T05:12:12.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-02T05:17:26.000Z (about 3 years ago)
- Last Synced: 2024-12-28T03:44:08.431Z (over 1 year ago)
- Language: Java
- Size: 70.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Exemplo de conexão com Redis Sentinel cache (Jedis)
# IntelliJ IDEA Plugin
- [Spring Boot Helper](https://plugins.jetbrains.com/plugin/18622-spring-boot-helper)
- [Redis Client plugin](https://plugins.jetbrains.com/plugin/19360-redis-client)
### Cachable object json
```shell
curl --request GET \
--url http://localhost:8080/customers
```
### Cachable Collection json
```shell
curl --request GET \
--url http://localhost:8080/customers
```
### Cache evict
```shell
curl --request POST \
--url http://localhost:8080/customers \
--header 'Content-Type: application/json' \
--data '{ "name": "Rafaela Borges",
"document": "85762588548" }'
```