Skip to content

Latest commit

 

History

History
48 lines (40 loc) · 1.08 KB

README.md

File metadata and controls

48 lines (40 loc) · 1.08 KB

n8n-nodes-kafka-ssl

This repo adds support for connecting to a Kafka Cluster with SSL certificates. The code is based on the work of https://github.com/cylabr on this n8n-io/n8n#6398, plus some additional configuration.

Setup

Use visual studio code for best experience.

  1. Clone this repository.
  2. Install node and npm. https://nodejs.org/en/download
  3. Install pnpm
npm i -g pnpm
  1. Install local package
pnpm install
  1. Build n8n
pnpm run build
  1. Run n8n in docker mode
  2. Configure n8n docker container to use this custom node. Add the following volume for n8n-main service
  volumes:
    - ~/n8n-nodes-kafka-ssl/dist:/home/node/.n8n/custom/node_modules/n8n-nodes-kafka-ssl

Development

  1. Make changes to nodes or credentials
  2. Delete compiled files
rm -rf dist
  1. Build packages and n8n
pnpm run build
  1. Restart n8n (make sure to be in n8n directory)
docker compose restart n8n-main

License

MIT