-
Story
-
Resolution: Duplicate
-
Normal
-
None
-
None
-
5
-
False
-
-
False
-
-
As a developer,
I want to produce event messages to the service-instance-ingress topic,
So that the necessary events are processed and passed on for further handling.
Acceptance Criteria:
- Kafka Producer:
- The Quarkus app successfully produces swatch Event messages to the service-instance-ingress topic when the Unleash feature flag from
SWATCH-2924is enabled. - If SWATCH-2875 is not completed, use a hardcoded event payload string.
- The Quarkus app successfully produces swatch Event messages to the service-instance-ingress topic when the Unleash feature flag from
- Message consumption
- swatch-tally consumes the message, sends it through its usual Event Ingestion pipeline, and results in an event database record being inserted
- Event Ingestion/Reconciliation should behave in its usual way (aka no regressions in current dedup logic)
- Verify hourly tally doesn't pick up these event records
- they shouldn't because the events will have a service type of HBI_HOST, and there are no product configs that match HBI_HOST
- Automated Testing
- Add component tests for new swatch-metrics-hbi
- happy path test with a life-like example of an HBI event compared with the swatch Event emitted by swatch-metric-producer
- ensuring that the unleash feature flag is honored (does this count as functional test?)
- Functional test
- when swatch-metrics-hbi emits an Event, swatch-tally consumes it
- Add component tests for new swatch-metrics-hbi
- is blocked by
-
SWATCH-2924 Implement Unleash Flag for swatch Event message producer
- Release Pending
-
SWATCH-2874 Create a Quarkus app that consumes/produces Kafka messages
- Closed
- is incorporated by
-
SWATCH-2875 Translate HBI messages into swatch's Event message schema
- In Progress
- relates to
-
SWATCH-2875 Translate HBI messages into swatch's Event message schema
- In Progress