Skip to content

Add graceful shutdown handling for messaging client critical operations #896

@FelixTing

Description

@FelixTing

🚀 Feature Request

Relevant Package [REQUIRED]

This feature request is for go-mod-bootstrap

Description [REQUIRED]

The current shutdown process immediately cancels the context when SIGTERM is received, which causes the messaging client to disconnect abruptly. This may interrupt critical operations that are still in progress.

Describe the solution you'd like

Integrate edgexfoundry/go-mod-messaging#435 into shutdown process to ensure graceful shutdown that waits for ongoing critical operations to complete.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status

Palau Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions