Interface PolarisEventMetadata


@PolarisImmutable public interface PolarisEventMetadata
Metadata associated with a Polaris event.
  • Field Details

  • Method Details

    • builder

      static org.apache.polaris.service.events.ImmutablePolarisEventMetadata.Builder builder()
    • eventId

      @Default default UUID eventId()
      The unique ID of the event.
    • timestamp

      @Default default Instant timestamp()
      The timestamp when the event was emitted.
    • realmId

      String realmId()
      The realm in which the event was emitted.
    • user

      Optional<org.apache.polaris.core.auth.PolarisPrincipal> user()
      The user who triggered the event.
    • requestId

      Optional<String> requestId()
      The request ID associated with the event, if any.
    • openTelemetryContext

      Map<String,String> openTelemetryContext()
      The OpenTelemetry context associated with the event, if any.