[PR #1686] [MERGED] kafka: Make consumer and producer classes configurable #2231

Closed
opened 2026-02-20 17:46:36 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraph/pull/1686
Author: @nfcampos
Created: 9/11/2024
Status: Merged
Merged: 9/11/2024
Merged by: @nfcampos

Base: mainHead: nc/11sep/kafka-configurable-consumer-producer


📝 Commits (1)

  • 217b07a kafka: Make consumer and producer classes configurable

📊 Changes

5 files changed (+194 additions, -115 deletions)

View changed files

📝 libs/scheduler-kafka/README.md (+6 -7)
libs/scheduler-kafka/langgraph/scheduler/kafka/default_async.py (+16 -0)
📝 libs/scheduler-kafka/langgraph/scheduler/kafka/executor.py (+72 -56)
📝 libs/scheduler-kafka/langgraph/scheduler/kafka/orchestrator.py (+61 -51)
📝 libs/scheduler-kafka/langgraph/scheduler/kafka/types.py (+39 -1)

📄 Description

  • Define protocol for sync and async producer and consumer
  • Accept consumer/producer as init args in Orchestrator/Executor
  • If not passed in, create default consumer/producer as before

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/langgraph/pull/1686 **Author:** [@nfcampos](https://github.com/nfcampos) **Created:** 9/11/2024 **Status:** ✅ Merged **Merged:** 9/11/2024 **Merged by:** [@nfcampos](https://github.com/nfcampos) **Base:** `main` ← **Head:** `nc/11sep/kafka-configurable-consumer-producer` --- ### 📝 Commits (1) - [`217b07a`](https://github.com/langchain-ai/langgraph/commit/217b07ae65cdfece3eda1c9e728aaf7015ae3cb7) kafka: Make consumer and producer classes configurable ### 📊 Changes **5 files changed** (+194 additions, -115 deletions) <details> <summary>View changed files</summary> 📝 `libs/scheduler-kafka/README.md` (+6 -7) ➕ `libs/scheduler-kafka/langgraph/scheduler/kafka/default_async.py` (+16 -0) 📝 `libs/scheduler-kafka/langgraph/scheduler/kafka/executor.py` (+72 -56) 📝 `libs/scheduler-kafka/langgraph/scheduler/kafka/orchestrator.py` (+61 -51) 📝 `libs/scheduler-kafka/langgraph/scheduler/kafka/types.py` (+39 -1) </details> ### 📄 Description - Define protocol for sync and async producer and consumer - Accept consumer/producer as init args in Orchestrator/Executor - If not passed in, create default consumer/producer as before --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-20 17:46:36 -05:00
yindo closed this issue 2026-02-20 17:46:36 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraph#2231