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-17387 - Flow timeout events. #1272

Merged
merged 1 commit into from
Oct 2, 2023

Conversation

driessamyn
Copy link
Contributor

Topic and Avro schema for flow timeout events.

"doc": "Represents of a flow timeout instruction.",
"fields": [
{
"name": "checkpointStateKey",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

As I understand, this is the flow ID, but I thought maybe it's worth being specific in case this changes/evolves.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Think there's no harm in having it.

"doc": "Key for the state record that is storing the checkpoint."
},
{
"name": "timeoutDateTime",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is probably not strictly necessary but may be useful when troubleshooting or monitoring the system health?

Copy link
Collaborator

Choose a reason for hiding this comment

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

We're not great in general at using Avro records for this sort of thing, but it does give us a chance to log at the point where we receive the event.

@corda-jenkins-ci02
Copy link
Contributor

Jenkins build for PR 1272 build 2

Build Successful:
Jar artifact version produced by this PR: 5.1.0.26-alpha-1696254653687

@driessamyn driessamyn marked this pull request as ready for review October 2, 2023 15:44
@driessamyn driessamyn requested a review from a team as a code owner October 2, 2023 15:44
Copy link
Contributor

@mbrkic-r3 mbrkic-r3 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 cedc328 into release/os/5.1 Oct 2, 2023
3 checks passed
@driessamyn driessamyn deleted the driessamyn/CORE-17387/flow-timeout branch October 2, 2023 15:54
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.

3 participants