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
}Content copied to clipboard