Skip to content

Commit

Permalink
CORE-17506 Removing unused flow topics (#1364)
Browse files Browse the repository at this point in the history
This PR removes flow topics which are no longer used after the switch of some events from Kafka to synchronous HTTP/RPC
  • Loading branch information
ben-millar authored Nov 24, 2023
1 parent f4385fd commit e98db15
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 49 deletions.
3 changes: 0 additions & 3 deletions data/topic-schema/src/main/java/net/corda/schema/Schemas.java
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,6 @@ private Flow() {
public static final String FLOW_EVENT_TOPIC = "flow.event";
public static final String FLOW_EVENT_STATE_TOPIC = getStateAndEventStateTopic(FLOW_EVENT_TOPIC);
public static final String FLOW_EVENT_DLQ_TOPIC = getDLQTopic(FLOW_EVENT_TOPIC);
public static final String FLOW_MAPPER_EVENT_TOPIC = "flow.mapper.event";
public static final String FLOW_MAPPER_EVENT_STATE_TOPIC = getStateAndEventStateTopic(FLOW_MAPPER_EVENT_TOPIC);
public static final String FLOW_MAPPER_EVENT_DLQ_TOPIC = getDLQTopic(FLOW_MAPPER_EVENT_TOPIC);
public static final String FLOW_MAPPER_CLEANUP_TOPIC = "flow.mapper.cleanup";
public static final String FLOW_TIMEOUT_TOPIC = "flow.timeout";
public static final String FLOW_MAPPER_START = "flow.mapper.start";
Expand Down
46 changes: 0 additions & 46 deletions data/topic-schema/src/main/resources/net/corda/schema/Flow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,59 +12,13 @@ topics:
- uniqueness
- tokenSelection
config:
FlowEventStateTopic:
name: flow.event.state
consumers:
- flow
producers:
- flow
config:
cleanup.policy: compact
segment.ms: 600000
delete.retention.ms: 300000
min.compaction.lag.ms: 60000
max.compaction.lag.ms: 604800000
min.cleanable.dirty.ratio: 0.5
FlowEventDLQTopic:
name: flow.event.dlq
consumers:
- flow
producers:
- flow
config:
FlowMapperEventTopic:
name: flow.mapper.event
consumers:
- flow
- flowMapper
producers:
- flow
- flowMapper
- rest
config:
FlowMapperEventStateTopic:
name: flow.mapper.event.state
consumers:
- flow
- flowMapper
producers:
- flow
- flowMapper
config:
cleanup.policy: compact
segment.ms: 600000
delete.retention.ms: 300000
min.compaction.lag.ms: 60000
max.compaction.lag.ms: 604800000
min.cleanable.dirty.ratio: 0.5
FlowMapperEventDLQTopic:
name: flow.mapper.event.dlq
consumers:
- flow
- flowMapper
producers:
- flowMapper
config:
FlowStatusTopic:
name: flow.status
consumers:
Expand Down

0 comments on commit e98db15

Please sign in to comment.