Skip to content

feat: make pulsar cluster name configurable via PULSAR_CLUSTER env var#3

Merged
leonmeijer merged 1 commit intoleonmeijer:mainfrom
pezzking:feature/configurable-cluster-name
Jan 7, 2026
Merged

feat: make pulsar cluster name configurable via PULSAR_CLUSTER env var#3
leonmeijer merged 1 commit intoleonmeijer:mainfrom
pezzking:feature/configurable-cluster-name

Conversation

@pezzking
Copy link
Collaborator

@pezzking pezzking commented Jan 7, 2026

Summary

  • 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

Problem

Console returns 404 errors when calling /admin/v2/brokers/standalone because 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_CLUSTER environment variable. Defaults to "standalone" for backwards compatibility.

Test plan

  • Deploy with PULSAR_CLUSTER=pulsar environment variable
  • Verify broker dashboard loads without 404 errors
  • Verify backwards compatibility when env var is not set (defaults to "standalone")

🤖 Generated with Claude Code

- 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>
@leonmeijer leonmeijer merged commit e92edea into leonmeijer:main Jan 7, 2026
1 of 2 checks passed
@pezzking pezzking deleted the feature/configurable-cluster-name branch January 16, 2026 19:21
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants