docs: document redis session prerequisites
This commit is contained in:
@@ -92,6 +92,9 @@ GB32960 ingest:
|
||||
|
||||
```bash
|
||||
KAFKA_BROKERS=127.0.0.1:9092 \
|
||||
REDIS_HOST=127.0.0.1 \
|
||||
REDIS_PORT=6379 \
|
||||
REDIS_DATABASE=50 \
|
||||
GB32960_PORT=32960 \
|
||||
HTTP_PORT=20100 \
|
||||
java --sun-misc-unsafe-memory-access=allow \
|
||||
@@ -102,6 +105,9 @@ JT808 ingest:
|
||||
|
||||
```bash
|
||||
KAFKA_BROKERS=127.0.0.1:9092 \
|
||||
REDIS_HOST=127.0.0.1 \
|
||||
REDIS_PORT=6379 \
|
||||
REDIS_DATABASE=50 \
|
||||
JT808_PORT=808 \
|
||||
HTTP_PORT=20400 \
|
||||
java --sun-misc-unsafe-memory-access=allow \
|
||||
|
||||
@@ -135,6 +135,8 @@ class MavenModuleProfileTest {
|
||||
|
||||
assertThat(runbook)
|
||||
.contains("Session state requires Redis")
|
||||
.contains("REDIS_HOST=127.0.0.1")
|
||||
.contains("REDIS_DATABASE=50")
|
||||
.doesNotContain("SESSION_STORE=memory")
|
||||
.doesNotContain("without Redis");
|
||||
assertThat(moduleDataFlow)
|
||||
|
||||
Reference in New Issue
Block a user