feat: make pulsar cluster name configurable via PULSAR_CLUSTER env var#3
Merged
leonmeijer merged 1 commit intoleonmeijer:mainfrom Jan 7, 2026
Conversation
- Add pulsar_cluster field to Settings class in config.py - Update get_brokers() and get_active_brokers() to use settings.pulsar_cluster instead of hardcoded "standalone" default - Fixes 404 errors when console is deployed with non-standalone cluster names 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
pezzking
added a commit
that referenced
this pull request
Feb 15, 2026
…is cleanup (#16) * fix: skip release-please on upstream repo Add condition to only run release-please on forks, not on the upstream leonmeijer/pulsarconsole repo which doesn't have the required Actions permissions. * fix: remove release-please skip condition for upstream Upstream now has the required Actions permissions, so release-please should run on both fork and upstream. * fix: enable release-please on all repos * fix: update aggregation model to use environment_id and fix auto-refresh stability - Refactor aggregation task to use environment_id, aggregation_type, and aggregation_key instead of tenant/namespace columns - Close Redis connections in worker event loops to prevent leaks - Stabilize useAutoRefresh hook by using a ref for queryKeys to avoid unnecessary re-renders and interval resets - Remove countdown timer display from TopicDetail page * chore(main): release 1.3.0 (#3) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
pulsar_clusterfield to Settings class in config.pyget_brokers()andget_active_brokers()to usesettings.pulsar_clusterinstead of hardcoded "standalone" defaultProblem
Console returns 404 errors when calling
/admin/v2/brokers/standalonebecause the cluster name is hardcoded, but the actual cluster may have a different name (e.g., "pulsar").Solution
The cluster name is now configurable via the
PULSAR_CLUSTERenvironment variable. Defaults to "standalone" for backwards compatibility.Test plan
PULSAR_CLUSTER=pulsarenvironment variable🤖 Generated with Claude Code