Interface GrpcMetadataConfig


@ConfigMapping(prefix="stargate.grpc-metadata") public interface GrpcMetadataConfig
Configuration for the gRPC metadata passed to the Bridge.
  • Method Details

    • tenantIdKey

      @NotBlank @WithDefault("X-Tenant-Id") @NotBlank String tenantIdKey()
      Returns:
      Metadata key for passing the tenant-id to the Bridge. Defaults to "X-Tenant-Id"
    • cassandraTokenKey

      @NotBlank @WithDefault("X-Cassandra-Token") @NotBlank String cassandraTokenKey()
      Returns:
      Metadata key for passing the cassandra token to the Bridge. Defaults to "X-Cassandra-Token"
    • sourceApiKey

      @NotBlank @WithDefault("X-Source-Api") @NotBlank String sourceApiKey()
      Returns:
      Metadata key for passing the source API information to the Bridge. Defaults to "X-Source-Api"