Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CORE-17386 - Create new topic for flow processor scheduled tasks. #1271

Conversation

driessamyn
Copy link
Contributor

@driessamyn driessamyn commented Sep 29, 2023

  • Create new topic.
  • Also create constants for name of the task.
  • Fix unit test logic for which the assert was the wrong way around.

Runtime-os PR: corda/corda-runtime-os#4740

@@ -269,5 +269,8 @@ private ScheduledTask() {}

public static final String SCHEDULED_TASK_DB_PROCESSOR = "scheduled.task.db.processor";
public static final String SCHEDULED_TASK_MAPPER_PROCESSOR = "scheduled.task.mapper.processor";
public static final String SCHEDULED_TASK_TOPIC_FLOW_PROCESSOR = "scheduled.task.flow.processor";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
public static final String SCHEDULED_TASK_TOPIC_FLOW_PROCESSOR = "scheduled.task.flow.processor";
public static final String SCHEDULED_TASK_FLOW_PROCESSOR_TOPIC = "scheduled.task.flow.processor";

I think we should do the same for the 2 above constants for consistency with rest of the cases (I missed that with SCHEDULED_TASK_DB_PROCESSOR).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure. I can add it in this PR if you want?

@driessamyn driessamyn force-pushed the driessamyn/CORE-17386/flow-worker-scheduled-task-topic branch from da3256e to 86c2c1b Compare September 29, 2023 08:45
@corda-jenkins-ci02
Copy link
Contributor

Jenkins build for PR 1271 build 5

Build Successful:
Jar artifact version produced by this PR: 5.1.0.25-alpha-1695977914369

Copy link
Contributor

@jujoramos jujoramos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@driessamyn driessamyn merged commit c8bddf4 into release/os/5.1 Sep 29, 2023
4 checks passed
@driessamyn driessamyn deleted the driessamyn/CORE-17386/flow-worker-scheduled-task-topic branch September 29, 2023 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants