mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
* ✨ Add Apache Kafka node * ⚡ Improvements Co-authored-by: Tanay Pant <tanaypant@protonmail.com>
31 lines
545 B
TypeScript
31 lines
545 B
TypeScript
import {
|
|
ICredentialType,
|
|
NodePropertyTypes,
|
|
} from 'n8n-workflow';
|
|
|
|
export class Kafka implements ICredentialType {
|
|
name = 'kafka';
|
|
displayName = 'Kafka';
|
|
documentationUrl = 'kafka';
|
|
properties = [
|
|
{
|
|
displayName: 'Client ID',
|
|
name: 'clientId',
|
|
type: 'string' as NodePropertyTypes,
|
|
default: '',
|
|
},
|
|
{
|
|
displayName: 'Brokers',
|
|
name: 'brokers',
|
|
type: 'string' as NodePropertyTypes,
|
|
default: '',
|
|
},
|
|
{
|
|
displayName: 'SSL',
|
|
name: 'ssl',
|
|
type: 'boolean' as NodePropertyTypes,
|
|
default: true,
|
|
},
|
|
];
|
|
}
|