IBMStockTrader / trade-history

Microservice that keeps a detailed history of all stock trades
Apache License 2.0
1 stars 19 forks source link

Update Kafka topic usage for trade history #54

Closed rtclauss closed 2 years ago

rtclauss commented 2 years ago

The current implementation of portfolio uses a config map entry from kafka.historyTopic which is mapped to the environment variable KAFKA_HISTORY_TOPIC to determine which Kafka topic to forward trade history to. In the current implementation the topic is decided by KAFKA_TOPIC which is not currently used which means we use the default topic, stocktrader.

Let's update portfolio to use MP_MESSAGING_INCOMING_STOCKTRADER_TOPIC which maps to kafka.historyTopic.