The Simplest Way to Make Backstage and Pulsar Work Like They Should
You link backstage and pulsar to let teams view and manage message topics in one portal. The developer portal reads cluster data from the messaging API and shows topic health to engineers. This workflow stops teams from opening tickets just to check a message queue. Developers log in to the portal, find their service, and see their active topics right away. Platform teams keep control because the portal follows strict role rules for every call. How backstage and pulsar share data and roles T
Your coding agents run with your access.
Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.
You link backstage and pulsar to let teams view and manage message topics in one portal. The developer portal reads cluster data from the messaging API and shows topic health to engineers.
This workflow stops teams from opening tickets just to check a message queue. Developers log in to the portal, find their service, and see their active topics right away. Platform teams keep control because the portal follows strict role rules for every call.
How backstage and pulsar share data and roles
The developer portal uses a backend plugin to talk to the messaging cluster admin API. When a user opens a service page, the portal asks the cluster for topic stats. The cluster checks the request key before it sends back any data.
Good setups link portal user groups to cluster tenant roles. Each team owns a tenant or a namespace inside the messaging system. The portal reads the user identity and maps it to that specific namespace. Users can see backlog size and message rates for their own apps. They cannot change topics that belong to other teams.
Data flows in two ways during daily work. First, the portal pulls topic lists and consumer lag metrics to show on dashboards. Second, the portal can send requests to create new namespaces when a team builds a new app. Both actions need clear identity checks at the cluster edge.
Common failure modes in portal and messaging setups
Many teams start by giving the portal one shared admin token for the whole cluster. This is a big risk in production. If any user can trigger a portal action, they now have full cluster rights. One bad click can delete a busy topic or drop a namespace.
Broad tokens also break your audit logs. When the portal uses one static key, the cluster logs show every action coming from the same bot account. You cannot tell which engineer cleared a backlog or changed a retention rule. Security teams need to see the real user behind every write action.
End-to-End Encryption + Backstage Security Plugins: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Unlogged reads and writes create another blind spot. Message payloads often hold sensitive fields like emails, phone numbers, card numbers, or national IDs. If the portal lets users peek at dead-letter queues without field masking, raw user data spills onto screens. Masking rules should rewrite matched fields in results before they reach the browser.
To fix these issues, scope down the network and role paths between the two systems. Give the portal a read-only role for metric views. Require user-level tokens for any write action or topic peek. Put the admin API on a private network segment so only approved nodes can reach it.
Scoping permissions for day-two operations
Day-two work means handling schema changes, topic cleanup, and consumer resets. You should split these tasks into clear role tiers. Junior developers might only need to view consumer lag and schema versions. Senior engineers might need rights to skip bad messages or reset a cursor.
Keep role definitions in your central identity provider instead of local cluster files. When an engineer leaves a team, remove them from the identity group. This drops their portal view and their messaging rights at the same time. Review your cluster audit logs every week to spot unused tokens or odd API calls.
Add runtime guardrails and masking beside your databases and APIs
Login rules, role grants, and CI checks govern who connects to your stack. Yet any allowed script, engineer, or AI agent still runs commands with the full scope of its role. For workloads on Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes, SSH, or internal HTTP services, hoop.dev sits beside the service as an open-source proxy, a sidecar for your database or API.
Before a query runs, hoop.dev guardrails check the statement against your rules. An AI Analyzer you configure can score intent or hold risky calls for human review. Next, hoop.dev data masking rewrites sensitive fields in responses, and each verdict is logged per listener. Explore the MIT-licensed project on GitHub.
Frequently asked questions
How should the portal log in to the messaging admin API?
Use short-lived tokens tied to your central identity provider instead of static admin keys. Map portal groups to specific tenant or namespace roles so each request carries least-privilege rights.
Can developers read live messages through the developer portal?
Yes, if you enable a topic peek feature, though you must guard the data. Apply data masking to rewrite emails, phone numbers, or card numbers in results, and log every read request.
How do we stop teams from changing another team's topics?
Assign each team its own tenant or namespace in the messaging cluster. Configure the portal backend to pass the user's group claim and reject calls that cross namespace lines.
Related guides
In this post