RequestId

interface RequestId

Represents a unique identifier for a request within the Wow framework's command processing system.

This interface ensures that each request can be uniquely identified, which is essential for:

  • Maintaining request traceability across distributed systems

  • Implementing request deduplication and idempotency

  • Correlating requests with responses and events

  • Debugging and monitoring request flows

  • Supporting distributed tracing and logging

See also

for the complete command message interface that includes this identifier

Example usage:

class UserRequest(override val requestId: String = UUID.randomUUID().toString()) : RequestId {
// request payload
}

Inheritors

Properties

Link copied to clipboard
abstract val requestId: String

A unique identifier for this request instance.