Skip to content

graceful capability

graceful adds a standalone graceful shutdown manager to your Go service for clean process exits that don’t drop in-flight requests.

  • Signal handling
  • Ordered shutdown with timeouts
  • Component registration

Use graceful when you need controlled shutdown without the full platform capability. Graceful shutdown is essential for HTTP servers (drain in-flight requests), Kafka consumers (prevent rebalancing storms), and background workers (complete in-flight jobs).

Conflicts with: platform

Terminal window
verikt new my-service --language go --cap graceful
# or add to an existing service:
verikt add graceful

platform

Full application platform that includes graceful shutdown.

worker

Background workers that need graceful drain on shutdown.

kafka-consumer

Kafka consumer with graceful shutdown to prevent rebalancing.