Skip to content

Commit 5012596

Browse files
committed
use TIPS_INGRESS_WRITER_ name
1 parent bb47e7c commit 5012596

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

.env.example

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ TIPS_UI_S3_ACCESS_KEY_ID=minioadmin
3838
TIPS_UI_S3_SECRET_ACCESS_KEY=minioadmin
3939

4040
# Ingress Writer
41-
TIPS_WRITER_DATABASE_URL=postgresql://postgres:postgres@localhost:5432/postgres
42-
TIPS_WRITER_KAFKA_BROKERS=localhost:9092
43-
TIPS_WRITER_KAFKA_TOPIC=tips-ingress-rpc
44-
TIPS_WRITER_KAFKA_GROUP_ID=local-writer
45-
TIPS_WRITER_LOG_LEVEL=info
41+
TIPS_INGRESS_WRITER_DATABASE_URL=postgresql://postgres:postgres@localhost:5432/postgres
42+
TIPS_INGRESS_WRITER_KAFKA_BROKERS=localhost:9092
43+
TIPS_INGRESS_WRITER_KAFKA_TOPIC=tips-ingress-rpc
44+
TIPS_INGRESS_WRITER_KAFKA_GROUP_ID=local-writer
45+
TIPS_INGRESS_WRITER_LOG_LEVEL=info

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ Event streaming and archival system that:
1919
- Archives bundle history to S3 for long-term storage
2020
- See [S3 Storage Format](docs/AUDIT_S3_FORMAT.md) for data structure details
2121

22-
### 🔌 Ingress (`crates/ingress`)
22+
### 🔌 Ingress RPC (`crates/ingress-rpc`)
2323
The main entry point that provides a JSON-RPC API for receiving transactions and bundles.
2424

2525
### 🔨 Maintenance (`crates/maintenance`)
2626
A service that maintains the health of the TIPS DataStore, by removing stale or included bundles.
2727

28-
### ✍️ Writer (`crates/writer`)
28+
### ✍️ Ingress Writer (`crates/ingress-writer`)
2929
A service that consumes bundles from Kafka and persists them to the datastore.
3030

3131
### 🖥️ UI (`ui`)

crates/ingress-writer/src/main.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,23 @@ use uuid::Uuid;
1717
#[derive(Parser)]
1818
#[command(author, version, about, long_about = None)]
1919
struct Args {
20-
#[arg(long, env = "TIPS_WRITER_DATABASE_URL")]
20+
#[arg(long, env = "TIPS_INGRESS_WRITER_DATABASE_URL")]
2121
database_url: String,
2222

23-
#[arg(long, env = "TIPS_WRITER_KAFKA_BROKERS")]
23+
#[arg(long, env = "TIPS_INGRESS_WRITER_KAFKA_BROKERS")]
2424
kafka_brokers: String,
2525

2626
#[arg(
2727
long,
28-
env = "TIPS_WRITER_KAFKA_TOPIC",
28+
env = "TIPS_INGRESS_WRITER_KAFKA_TOPIC",
2929
default_value = "tips-ingress-rpc"
3030
)]
3131
kafka_topic: String,
3232

33-
#[arg(long, env = "TIPS_WRITER_KAFKA_GROUP_ID")]
33+
#[arg(long, env = "TIPS_INGRESS_WRITER_KAFKA_GROUP_ID")]
3434
kafka_group_id: String,
3535

36-
#[arg(long, env = "TIPS_WRITER_LOG_LEVEL", default_value = "info")]
36+
#[arg(long, env = "TIPS_INGRESS_WRITER_LOG_LEVEL", default_value = "info")]
3737
log_level: String,
3838
}
3939

0 commit comments

Comments
 (0)