The createKafkaEventForwarder() GraphQL mutation field may be used to cCreate a Kafka event forwarder and return it.

For more information on event forwarders, see the Event Forwarders documentation page. You may also want to look at the Event Forwarding and the Events page for related information.

Syntax

Below is the syntax for the createKafkaEventForwarder() mutation field:

graphql
createKafkaEventForwarder(
      input: CreateKafkaEventForwarder!
   ): KafkaEventForwarder!

Given Datatypes

For the input createKafkaEventForwarder(), there are several parameters that may be given. Below is a list of them along with their datatypes and a description of each:

Table: CreateKafkaEventForwarder

ParameterTypeRequiredDefaultDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
Table last updated: Sep 17, 2024
descriptionstringyes Description of the event forwarder.
enabledbooleanyes Whether the event forwarder is enabled.
namestringyes Name of the event forwarder.
propertiesstringyes The Kafka producer configuration used to forward events in the form of properties (x.y.z=abc). See Kafka Configuration.
topicLanguageVersionEnumyes The Kafka topic to which the events should be forwarded. See LanguageVersionEnum.

Returned Datatypes

The returned datatype KafkaEventForwarder has its own parameters. Below is a list of them along with their datatypes and a description of each:

Table: KafkaEventForwarder

ParameterTypeRequiredDefaultDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
Table last updated: Sep 25, 2024
enabledbooleanyes Whether the event forwarder is enabled.
descriptionstringyes The description of the event forwarder.
idstringyes The unique identifier of the event forwarder.
namestringyes The name of the event forwarder.
propertiesstringyes The Kafka producer configuration used to forward events in the form of properties (x.y.z=abc). See Kafka Configuration.
topicstringyes The Kafka topic where the events should be forwarded.