Skip to content

Commit 3ca6b01

Browse files
authored
Update README.md
1 parent 0fc5492 commit 3ca6b01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The solution leverages several key Big Data technologies:
3131

3232
### Real-time Pipeline
3333
- `risk_kafka_producer.py`: Reads data from HDFS and streams to Kafka topic "risk_data"
34-
- `risk_kafka_consumer.py`: Consumes data stream, applies ML model, and stores predictions in PostgreSQL
34+
- `postgre_consumer.py`: Consumes data stream, applies ML model, and stores predictions in PostgreSQL
3535

3636
### Visualization
3737
- `streamlit_dashboard.py`: Interactive web dashboard for data exploration and visualization
@@ -120,7 +120,7 @@ python risk_kafka_producer.py
120120

121121
5. Run the Spark Streaming consumer:
122122
```bash
123-
spark-submit --packages org.apache.spark:spark-sql-kafka-0-10_2.12:3.0.1,org.postgresql:postgresql:42.2.27 risk_kafka_consumer.py
123+
spark-submit --packages org.apache.spark:spark-sql-kafka-0-10_2.12:3.0.1,org.postgresql:postgresql:42.2.27 postgre_consumer.py
124124
```
125125

126126
6. Launch the Streamlit dashboard:

0 commit comments

Comments
 (0)