docs: remove memory session guidance

This commit is contained in:
lingniu
2026-07-01 09:19:26 +08:00
parent ce3f2ffb90
commit 6faf3533a5
3 changed files with 19 additions and 5 deletions

View File

@@ -39,8 +39,8 @@ Authorization failures are rejected before the Kafka durability boundary and can
- Java 25 and Maven available on PATH.
- Local Kafka reachable at `127.0.0.1:9092`, plus Kafka CLI tools such as `kafka-topics` and optionally `kafka-console-consumer`.
- Production GB32960/JT808 session state uses Redis by default. For local
one-process smoke tests without Redis, set `SESSION_STORE=memory` explicitly.
- Session state requires Redis. GB32960/JT808 ingest services keep live Netty
channels in-process, but session indexes and TTL metadata use Redis only.
- No repository-local Kafka bootstrap script or compose file was found during Task 8 verification on 2026-06-23.
If your shell needs an explicit JDK:
@@ -94,7 +94,6 @@ GB32960 ingest:
KAFKA_BROKERS=127.0.0.1:9092 \
GB32960_PORT=32960 \
HTTP_PORT=20100 \
SESSION_STORE=memory \
java --sun-misc-unsafe-memory-access=allow \
-jar modules/apps/gb32960-ingest-app/target/gb32960-ingest-app.jar
```
@@ -105,7 +104,6 @@ JT808 ingest:
KAFKA_BROKERS=127.0.0.1:9092 \
JT808_PORT=808 \
HTTP_PORT=20400 \
SESSION_STORE=memory \
java --sun-misc-unsafe-memory-access=allow \
-jar modules/apps/jt808-ingest-app/target/jt808-ingest-app.jar
```