Skip to content

Better message on microservice exit #2580

@jmthomas

Description

@jmthomas

The microservice base class (both Ruby and Python) should print a message in the nominal case to indicate it is exiting and thus will be shutdown. This can help with debugging custom microservices since the run method is meant to block and not return. If a custom microservice spawns a thread or doesn't run inside a while loop it will simply return and thus exit.

Something like the following:

Logger.info("Microservice #{name} run method returned cleanly and will now shutdown.")

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions