मुख्य विषयवस्तु में जाएं

अपाचे स्पार्क और n8n इंटीग्रेशन गाइड

वही N8N मॉड्यूल in Ilum brings powerful, low-code workflow automation to your data lakehouse environment. Design visual ETL pipelines, orchestrate complex Apache Spark jobs, and integrate data processes with third-party business apps—all through a clean drag-and-drop editor fully embedded in the Ilum platform.


🚀 What is n8n?

एन8एन is a leading workflow automation tool that lets you connect APIs, databases, and services with a simple visual interface. Ilum integrates n8n as a native module, transforming it into a robust Data Orchestration tool. With Ilum, it treats अपाचे स्पार्क as a first-class citizen, allowing you to trigger heavy-lifting data tasks alongside operational logic.


N8n के विज़ुअल वर्कफ़्लो एडिटर के साथ, आप डेटा अंतर्ग्रहण, परिवर्तन, विश्लेषण और एक्शन ट्रिगरिंग, विकास में तेजी लाने और मैन्युअल प्रयास को कम करने वाले स्वचालन अनुक्रमों को आसानी से डिज़ाइन, परीक्षण और तैनात कर सकते हैं।

प्रमुख लाभ

  • दृश्य वर्कफ़्लो निर्माण: ड्रैग-एंड-ड्रॉप इंटरफ़ेस का उपयोग करके जटिल स्वचालन डिज़ाइन करें।
  • व्यापक कनेक्टिविटी: इलम सेवाओं को सैकड़ों बाहरी अनुप्रयोगों और एपीआई से कनेक्ट करें।
  • लो-कोड/नो-कोड: आवश्यक न्यूनतम कोडिंग के साथ शक्तिशाली वर्कफ़्लोज़ बनाएं, स्वचालन का लोकतंत्रीकरण करें।
  • डीप इलम एकीकरण: कस्टम नोड्स (एंटरप्राइज़ संस्करण) का उपयोग करके सीधे अपने वर्कफ़्लोज़ के भीतर विशिष्ट इलम घटकों का लाभ उठाएं।
  • लचीला ट्रिगरिंग: Start workflows based on schedules (cron), webhooks, manual triggers, or events from cloud storage (S3/GCS).

n8n and apache spark

स्थापित करने के लिए कैसे

स्थापना/नवीनीकरण के दौरान केवल एक अतिरिक्त पैरामीटर --सेट ilum-n8n.enabled=true

हेल्म इंस्टॉल इलम इलम इलम / इलम --सेट ilum-n8n.enabled=true

नोट

यदि आपको HTTP (HTTPS नहीं) के माध्यम से दूरस्थ होस्ट से n8n तक पहुँचने में समस्या है, आपको अपने हेल्म मानों में निम्न कॉन्फ़िगरेशन जोड़कर सुरक्षित कुकीज़ को अक्षम करने की आवश्यकता हो सकती है:

एन8एन:
मुख्य:
extraEnvVars:
N8N_SECURE_COOKIE: "झूठा"

n8n HTTP warning message इस समस्या के बारे में एक चेतावनी संदेश

यह n8n HTTP कनेक्शन पर काम करने के लिए अनुमति देता है। इस सेटिंग का उपयोग केवल विश्वसनीय, गैर-उत्पादन या विकास परिवेशों में करें.

इलम कस्टम नोड्स (एंटरप्राइज़ संस्करण)

Ilum के एंटरप्राइज़ संस्करण में डेटा लेकहाउस प्लेटफ़ॉर्म की क्षमताओं के साथ गहन एकीकरण के लिए डिज़ाइन किए गए कई कस्टम n8n नोड्स शामिल हैं। ये नोड्स इलम की मुख्य कार्यात्मकताओं तक सीधी पहुंच प्रदान करते हैं:

1. स्पार्कएसक्यूएल

  • या क़िस्‍म: Ilum Data Lakehouse के भीतर आपके डेटा के विरुद्ध सीधे तदर्थ Apache Spark SQL प्रश्नों को निष्पादित करता है। अपने वर्कफ़्लो को छोड़े बिना स्पार्क SQL की शक्ति का उपयोग करके डेटा पुनर्प्राप्त करें, फ़िल्टर करें, एकत्रित करें और रूपांतरित करें।
  • उपयोग: डेटा निष्कर्षण, त्वरित विश्लेषण और वर्कफ़्लो में बाद के चरणों के लिए डेटा तैयार करने के लिए आदर्श।
  • Best For: Ad-hoc analysis, data quality checks, and passing small datasets to other apps.
  • एआई एजेंट टूल: एआई एजेंट नोड के लिए एक उपकरण के रूप में भी कॉन्फ़िगर किया जा सकता है, जिससे एआई मॉडल प्राकृतिक भाषा निर्देशों या तर्क के आधार पर गतिशील रूप से डेटा क्वेरी कर सकते हैं।

n8n spark sql


2. स्पार्क माइक्रोसर्विस

  • या क़िस्‍म: Ilum सेवा परत के भीतर तैनात कस्टम Apache Spark microservices को आमंत्रित करता है। ये माइक्रोसर्विसेज आपके मानक स्पार्क या पायस्पार्क कोड (जैसे, जटिल परिवर्तन, एमएल मॉडल अनुमान, कस्टम डेटा प्रोसेसिंग तर्क) को समाहित करती हैं और उन्हें आरईएसटी एपीआई के माध्यम से उजागर करती हैं। यह स्पार्क कनेक्ट के समान है।
  • उपयोग: आपको मांग पर मौजूदा, जटिल स्पार्क तर्क को ट्रिगर करने और एपीआई कॉल के माध्यम से सीधे अपने n8n वर्कफ़्लो में परिणाम प्राप्त करने की अनुमति देता है। स्वचालित पाइपलाइनों के भीतर कस्टम स्पार्क अनुप्रयोगों के लिए बिल्कुल सही।
  • Best For: Real-time inference, event-driven processing, and reusable data transformations.

n8n spark sql


3. स्पार्कएक्शन (एआई एजेंट टूल)

  • या क़िस्‍म: यह नोड एआई एजेंट के लिए एक उपकरण के रूप में कार्य करता है। यह एआई एजेंट को प्राप्त संदर्भ या निर्देशों के आधार पर कस्टम अपाचे स्पार्क कोड स्निपेट को गतिशील रूप से उत्पन्न और निष्पादित करने का अधिकार देता है।
  • उपयोग: उन्नत परिदृश्यों को सक्षम करता है जहां एआई एजेंट को स्पार्क वातावरण के भीतर मक्खी पर बीस्पोक डेटा जोड़तोड़ या गणना करने की आवश्यकता होती है।
  • Best For: Generative AI use cases, dynamic code generation, and complex, unstructured data tasks.

n8n spark sql


4. इलम (एआई एजेंट टूल)

  • या क़िस्‍म: एआई एजेंट के लिए एक बहुमुखी उपकरण के रूप में कार्य करता है, जो अपने आंतरिक आरईएसटी एपीआई के माध्यम से इलम प्लेटफॉर्म की जानकारी और कार्यात्मकताओं की एक विस्तृत श्रृंखला तक पहुंच प्रदान करता है।
  • उपयोग: एआई एजेंट को इसकी अनुमति देता है:
  • इलम डेटा कैटलॉग को क्वेरी करें (उदाहरण के लिए, डेटासेट ढूंढें, स्कीमा देखें)।
  • तालिका आँकड़े और डेटा गुणवत्ता मीट्रिक पुनर्प्राप्त करें.
  • अन्य प्लेटफ़ॉर्म मेटाडेटा और परिचालन जानकारी तक पहुँचें।
  • अनिवार्य रूप से, Ilum UI के भीतर दिखाई देने वाली अधिकांश जानकारी के साथ बातचीत करें या इसके API के माध्यम से उपलब्ध हों।
  • Best For: Metadata management, catalog exploration, and platform monitoring via AI.

n8n spark sql


5. स्पार्कबैच

  • या क़िस्‍म: मानक Apache Spark बैच कार्यों को ट्रिगर करता है जो Ilum प्लेटफ़ॉर्म के भीतर कॉन्फ़िगर किए गए हैं।
  • उपयोग: अपने स्वचालित वर्कफ़्लो (जैसे, बड़े पैमाने पर ईटीएल, मॉडल प्रशिक्षण) के हिस्से के रूप में पूर्व-निर्धारित, संभावित रूप से लंबे समय तक चलने वाली स्पार्क बैच प्रक्रियाओं को शुरू करने के लिए इस नोड का उपयोग करें।
  • Best For: Heavy ETL, nightly reporting jobs, and long-running model training.

n8n spark sql


📦 Licensing & Usage

⚠️ Users must follow n8n’s license model.
सक्रिय ग्राहक Ilum Enterprise लाइसेंस एक भी प्राप्त कर सकते हैं n8n एंटरप्राइज़ लाइसेंस उनकी सदस्यता के हिस्से के रूप में, उन्नत अभिगम नियंत्रण, असीमित निष्पादन और प्रीमियम समर्थन जैसी सुविधाओं को अनलॉक करना।

यहां n8n लाइसेंसिंग के बारे में अधिक जानें: n8n.io/pricing


🧪 Try It Out

के पास जाओ मॉड्यूल > n8n इलम में अनुभाग के लिए:

  • कोई नया वर्कफ़्लो प्रारंभ करना
  • Spark, MinIO, SQL, और अधिक से कनेक्ट करने के लिए Ilum नोड्स का उपयोग करें
  • समय, घटनाओं या स्थितियों के आधार पर ट्रिगर पाइपलाइन
  • पूरी तरह से दृश्य वातावरण में निर्माण और पुनरावृति


Real-World Use Cases

Ilum’s n8n integration bridges the gap between data engineering और business operations. Here are common ways to leverage this integration:

1. Automated ETL Pipelines

Replace rigid scripts with visual flows.

  • Trigger: Scheduled daily at 2:00 AM.
  • Action: n8n pulls raw data from CRM APIs (Salesforce, HubSpot) and loads it into object storage.
  • Process: वही SparkBatch node triggers a heavy Spark job to clean, merge, and transform this data into your Lakehouse format (Delta/Iceberg/Hudi).
  • Result: Analytics-ready data is available by start of business.

2. Event-Driven Data Processing

React to data instantly instead of waiting for batches.

  • Trigger: A file is uploaded to an S3 bucket (webhook event).
  • Process: n8n receives the event and passes the file path to a Spark Microservice node.
  • Action: The microservice runs a specific PySpark inference script to classify the document content.
  • Result: The classification is tagged in the database, and a Slack notification is sent to the relevant team.

3. AI-Powered Data Analysis

Empower non-technical users to query data.

  • Trigger: A user asks a question in a chat interface (e.g., Slack/Teams).
  • Process: वही Ilum AI Agent (using the SparkSQL tool) parses the natural language query into SQL.
  • Action: The query runs against the Data Lakehouse, returning aggregated metrics.
  • Result: The user receives a summarized answer and a chart image directly in the chat.

n8n as a Data Orchestrator

While tools like Apache Airflow are built for pure code-based orchestration, एन8एन offers a compelling alternative for hybrid workflows:

लक्षणCode-Based (e.g., Airflow)Visual (n8n on Ilum)
InterfacePython CodeVisual Drag-and-Drop
ConnectivityData-focused350+ Apps (CRM, Social, Email, Data)
Spark SupportVia OperatorsNative Ilum Spark Nodes
के लिए सबसे अच्छाHeavy, complex dependency DAGsAgile ETL, Operational Data Apps, AI Agents

Using n8n allows data engineers to build the core processing logic in Spark, while allowing operations teams to manage the triggers, alerts, and downstream actions visually.


💬 Need Help?

For advanced workflows or custom use cases, contact the Ilum team. We’re happy to help you design, optimize, and scale your data automation pipelines.