Class: Aws::EventBridgeV2::Types::MskParameters

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb

Overview

MSK (Apache Kafka) invocation parameters for subscribers targeting an Amazon MSK cluster.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#acks ⇒ String

Producer acknowledgement mode. Defaults to ALL.

Returns:

  • (String)


1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 1987

class MskParameters < Struct.new(
  :topic_name,
  :compression,
  :acks,
  :partition_key,
  :headers,
  :client_id,
  :connectivity)
  SENSITIVE = []
  include Aws::Structure
end

#client_id ⇒ String

Producer client.id passed to the Kafka broker. Identifies the producer in broker-side logs, metrics, and quota enforcement. A literal, not a JSONata expression: it is a connection-level setting resolved once when the producer is created, not per event. If you do not set it, EventBridge uses the subscriber ARN.

Returns:

  • (String)


1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 1987

class MskParameters < Struct.new(
  :topic_name,
  :compression,
  :acks,
  :partition_key,
  :headers,
  :client_id,
  :connectivity)
  SENSITIVE = []
  include Aws::Structure
end

#compression ⇒ String

Producer compression codec applied to the record batch. Defaults to NONE.

Returns:

  • (String)


1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 1987

class MskParameters < Struct.new(
  :topic_name,
  :compression,
  :acks,
  :partition_key,
  :headers,
  :client_id,
  :connectivity)
  SENSITIVE = []
  include Aws::Structure
end

#connectivity ⇒ String

How the service connects to the cluster. A cluster can have public access and multi-VPC private connectivity turned on at the same time, so the subscriber names the one to use. That path must be turned on, with IAM access control, on the cluster.

Returns:

  • (String)


1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 1987

class MskParameters < Struct.new(
  :topic_name,
  :compression,
  :acks,
  :partition_key,
  :headers,
  :client_id,
  :connectivity)
  SENSITIVE = []
  include Aws::Structure
end

#headers ⇒ Array<Types::MskHeader>

Kafka record headers attached to each produced record.

Returns:



1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 1987

class MskParameters < Struct.new(
  :topic_name,
  :compression,
  :acks,
  :partition_key,
  :headers,
  :client_id,
  :connectivity)
  SENSITIVE = []
  include Aws::Structure
end

#partition_key ⇒ String

Kafka record key. Accepts a literal or a JSONata expression (e.g. "$events.data.customerId %") resolved once per delivered event; the resolved value selects the destination partition. If you omit it, the producer selects the partition; on an ordered (FIFO) subscriber, EventBridge instead uses the event group ID as the record key to preserve ordering.

Returns:

  • (String)


1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 1987

class MskParameters < Struct.new(
  :topic_name,
  :compression,
  :acks,
  :partition_key,
  :headers,
  :client_id,
  :connectivity)
  SENSITIVE = []
  include Aws::Structure
end

#topic_name ⇒ String

Name of the Kafka topic events are produced to. Accepts a literal or a JSONata expression resolved once per delivered event.

Returns:

  • (String)


1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 1987

class MskParameters < Struct.new(
  :topic_name,
  :compression,
  :acks,
  :partition_key,
  :headers,
  :client_id,
  :connectivity)
  SENSITIVE = []
  include Aws::Structure
end