Expand description
Constructors§
Source§new KafkaTrigger<C extends unknown, L extends string>(
id: L,
props: KafkaTriggerProps,
): KafkaTrigger<C, L>
new KafkaTrigger<C extends unknown, L extends string>(
id: L,
props: KafkaTriggerProps,
): KafkaTrigger<C, L>
Properties§
Source§public position?: NodePosition
public position?: NodePosition
Position of the node in the n8n workflow editor canvas When undefined, the node will be placed automatically
Source§props: KafkaTriggerProps
props: KafkaTriggerProps
Methods§
Source§canTakeInput(
_fromState: IChainable,
_withConnectionOptions?: ConnectionOptions,
): boolean
canTakeInput(
_fromState: IChainable,
_withConnectionOptions?: ConnectionOptions,
): boolean
Determines if this state can accept input from another state
Source§clone<Id extends string>(
id: Id,
props?: NodeProps,
cloneOptions?: { preserveChainConnections?: boolean },
): Omit<KafkaTrigger<C, L>, "id"> & Node<Id, C>
clone<Id extends string>(
id: Id,
props?: NodeProps,
cloneOptions?: { preserveChainConnections?: boolean },
): Omit<KafkaTrigger<C, L>, "id"> & Node<Id, C>
Creates a deep copy of this node with a new ID and optional property overrides
Source§getCredentials(): Credentials<KafkaCredentials>[]
getCredentials(): Credentials<KafkaCredentials>[]
Returns the credentials required by this node
Source§listOutgoing(): IChainable<string, any>[]
listOutgoing(): IChainable<string, any>[]
Returns all states that are connected as next states from this state
Consume messages from a Kafka topic