Skip to main content
The Streaming Hub module in Lerian Console shows how the Hub delivers your events. Use it to follow delivery, read the event catalog, and manage subscriptions. Managing subscriptions covers the same subscription tasks through the API.

Accessing Streaming Hub


The module works only when Streaming Hub is on for your organization. An administrator turns it on in Settings > Products. See Products. Open the product launcher in Lerian Console and select Streaming Hub. The sidebar has three entries: Dashboard, Event catalog, and Subscriptions. When Streaming Hub is off, the module pages show a notice that points to this setting.

Dashboard


The module opens on the Dashboard. It shows event delivery, as the Hub measured it. A status line at the top shows the number of subscriptions. It also counts the Paused subscriptions, and the subscriptions that need a person: Stopped by the Hub and Awaiting verification. Select the period at the top: 1h, 6h, 24h, or 48h. The default is 24 hours. For a different window, choose Custom, then set a Start and a Duration. The start must be in the past. Under the periods, the Console shows where the history that the Hub still holds starts. A preset wider than that history is unavailable, and a Start before it is refused. When the Hub rejects a period, the dashboard can offer a period that fits, for example View the last 24 hours. The dashboard shows:
  • Current state: the subscriptions at the moment of the snapshot, counted by destination kind.
  • Events received: the events the Hub received in the period, with a chart per hour or per UTC day. This is not a delivery count.
  • Push delivery: the delivery jobs created, and the delivery attempts by outcome, such as Delivered or Failed.
  • Push backlog: the delivery jobs waiting, and how long the oldest one has waited.
  • Pull eligibility: the events that pull consumers had the right to read, and the events offered to pull subscriptions. The Hub does not report what a consumer read.
Under them, Needs attention lists the subscriptions that need an operator’s attention in the period. Each row shows the subscription, its status and reasons, and its last failure. The Status and reasons column says why the row is there, for example Repeated delivery failures or Destination not verified. A row offers Verify now when the subscription needs it. When you have no subscription, the dashboard offers View catalog.

Event catalog


Event catalog lists the events that producers advertise, and how current each one is. The page groups the events by topic. Each event shows its event key, its schema version, a description, its resource, and its source. The event key is the value that a subscription takes as an event type. Each topic shows a freshness badge for each producer, such as Refreshed or Out of date. Use Search the catalog to filter by event key, description, topic, or producer. Producers advertising no events lists the producers that the Hub sweeps but holds no events from. The Subscribe buttons open the create wizard with the producer or the event already chosen.

Subscriptions


Subscriptions lists where the Hub delivers your events. The table shows Name, Status, Destination, and Created, with row actions. The destination column shows the kind and the host. Filter the list by Exact name, Destination kind, Delivery, and Verification. Each subscription has one status: Delivering, Failing, Awaiting verification, Paused, or Stopped by the Hub. To open a subscription, click its name.

Create a subscription

On the Subscriptions page, click New subscription. The wizard has three steps: Destination, Event types, and Review and confirm.
1

Set the destination

Type a Name. The list shows this name. Choose the Destination kind: Webhook, Pull, Amazon SQS, RabbitMQ, or Amazon EventBridge. Then type the address of the kind:
  • Endpoint for a webhook: an https address that the Streaming Hub can reach.
  • Queue URL for Amazon SQS. The Console refuses a FIFO queue.
  • Exchange and routing key for RabbitMQ.
  • Event bus for Amazon EventBridge.
A pull subscription has no address. For a webhook, you can also set a Delivery timeout from 1000 to 20000 milliseconds. The default is 10000.
2

Choose the event types

Set the Producing application: Any producer or one producer. Set the Schema version. Leave it empty to use version 1. Then choose every event type, including the ones published later at this schema version. Or choose only the event types that you select from the catalog, each with its own schema version. Next waits until the catalog answers.
3

Review and confirm

Check the choices. Then click Create subscription.
For a webhook, the Subscription created dialog shows the signing secret. The Streaming Hub returns it exactly once. Copy it, then select I have copied the signing secret and stored it safely. Then click Verify now to send one signed request to your endpoint, or Verify later. The Streaming Hub delivers nothing to the destination until one signed request reaches it and succeeds. For a pull subscription, the Pull subscription created dialog shows the subscription ID. A pull subscription has no signing secret: your consumer authenticates with its own token. See Consuming events. For a queue subscription, the Console opens the subscription page. There you set its credential.

The subscription page

The header shows the action that fits the state: Verify now, Set credential, Rotate signing secret, or Resume. It also has an Edit button and a menu. The page has two tabs, Overview and Delivery health. The Overview tab has these cards:
  • Destination: the host, the destination kind, and the status. Show full destination shows the full address on the card. It needs the permission to create subscriptions.
  • Delivery: the event types, the producer, the schema version, the signature version, the plan, the delivery timeout of a webhook, the last verification, the next automatic verification, the creation date, and the date of the last change.
  • Credential: the credential kind, such as Cross-account role or Stored queue credential, and the last time that the credential changed. The Hub never returns secret material on a read, so the card cannot show it.
  • How to consume this subscription: for a pull subscription, how your service reads it.
The Delivery health tab shows the success rate per attempt, the last success and failure, the quarantined events, the consumer lag, and the attempt outcomes. The tab says which interval the counts cover. A subscription that waits for verification, or that the Hub stopped, shows a notice at the top with the action to take. The Streaming Hub also sends a signed request again to a webhook that is still pending, and a success activates the subscription, unless the subscription is paused.

Edit a subscription

Click Edit to change the Name, the destination (not for a pull subscription), the event types, the Schema version, and, for a webhook, the Delivery timeout. The subscription keeps its ID and its credential. On an active subscription, the Hub tests the new destination before it saves it, and a failed test changes nothing. A subscription that awaits verification saves the new destination and the Hub verifies it like a new subscription. To change the destination kind, create a new subscription.

Set the credential of a queue subscription

A queue subscription is an Amazon SQS, RabbitMQ, or Amazon EventBridge subscription. It delivers nothing until the Streaming Hub reaches the destination with a credential. Click Set credential.
  • RabbitMQ asks for an AMQP URI.
  • Amazon SQS and Amazon EventBridge ask for an AWS region, an Access key ID, and a Secret access key. The sheet lists the AWS permissions that the key needs.
The Streaming Hub tests the login before it keeps the credential. If the test fails, the Hub keeps the previous credential and the sheet shows the result. When the Hub saves the credential, the Console verifies the destination, unless the subscription is paused. The Hub never returns the credential on a read. A cross-account role subscription does not offer Set credential.

Pause or resume a subscription

Select Pause in the row menu or in the menu of the subscription page, then confirm. The Hub stops delivery at once. It does not deliver the deliveries in the queue or the events that arrive while the subscription is paused. A paused subscription shows a notice at the top. Click Resume in the header to restart it. The Hub then delivers only the events that arrive after the resume. For a pull subscription, the read position moves to the newest event, so every event your consumer had not read yet is skipped. Your consumer can still read those events with ?after= within retention. See Pausing and resuming a subscription. A subscription that the Hub stopped does not offer Pause: use Verify now.

Verify, rotate, or delete a subscription

  • Verify now checks the destination. For a webhook, it sends one real signed request to your endpoint. The Console does not offer it for a webhook that is active and switched on. It is the only action that restarts a subscription that the Hub stopped.
  • Rotate signing secret is for a webhook that holds a signing secret. The Rotate the signing secret dialog issues a new secret and shows it once. The Hub signs each delivery with both secrets until the deadline that the dialog shows. Click Rotate the secret to confirm.
  • Delete subscription stops delivery. Type the subscription name to confirm, then click Delete subscription. The dialog states what the deletion costs for the kind. If you create a webhook subscription again, it receives a new signing secret. A pull subscription loses the position that your consumer has read up to.

Next steps


Managing subscriptions

Create and manage subscriptions through the API.

Consuming events

Verify signatures, deduplicate deliveries, and pull events.