Manage Pulse Cluster using APIs

This page describes API details for managing and scaling Pulse services and components. It includes operations such as restarting services, managing shards, indexing databases, and processing FSImage data.

Restart Pulse Services

This API endpoint restarts the specified Pulse services without applying any configuration changes. It restarts only the services that are already deployed and uses the configuration defined in the annotations of the Custom Resource (CR).

Accepted Inputs: A list of services that can be restarted.

  • Core Connectors
  • SparkStats
  • Kafka Connector
  • FS Analytics v2
  • Ozone Connector
  • Oozie Connector
  • Impala Connector
  • Druid Analyzer
  • LDAP
  • SQL Analyser
  • Trino Connector
  • Streaming
  • Hydra
  • Dashplot
  • Dashplot-UI
  • Notifications
  • Alerts
  • Pulse-UI
  • Actions
Bash
Copy
Bash
Copy

Remove Pulse Add-On Services

This API endpoint removes specified add-ons from the Pulse cluster. It deletes the corresponding pods, deployments, or stateful sets, and clears the related annotations for the selected service.

Accepted Inputs: A list of add-on services can be removed.

  • SparkStats
  • Kafka Connector
  • FS Analytics v2
  • Ozone Connector
  • Oozie Connector
  • Impala Connector
  • Druid Analyzer
  • LDAP
  • SQL Analyser
  • Trino Connector
Bash
Copy
Bash
Copy

Refresh Core

This API endpoint refreshes the configuration of core services and restarts all of them.

Affected Services:

  • GraphQL
  • Streaming
  • Hydra
  • Dashplot
  • Dashplot-UI
  • Notifications
  • Alerts
  • Pulse-UI
  • Actions
Bash
Copy
Bash
Copy

Scale Factor

This API endpoint updates the scale factor for scalability-related services.

Affected services:

  • Core Connectors
  • Alerts
  • Streaming
  • SparkStats
  • Impala Connector

Input:

Bash
Copy
Bash
Copy

NATS Partition Index

This API Endpoint updates the partition index for the microservices. The microservices those will be affected by are the following ones.

  1. Core Connectors

  2. Alerts

  3. Streaming

  4. Spark

  5. Stats

  6. Impala Connector

Input:

Bash
Copy
Bash
Copy

For Alerts and Streaming, the NATS partition count is automatically set to the maximum NATS partition count configured across all available clusters.

After updating the NATS partition count using the API described above, the affected services must be restarted for the changes to take effect.

Shard Count

This API endpoint updates the shard count for scalability-related services.

Affected services:

  • Core Connectors
  • Alerts
  • Streaming
  • SparkStats
  • Impala Connector

Input:

Bash
Copy
Bash
Copy

Index Databases

Use the following command to index the databases.

Bash
Copy

Reload Events

This operation reloads event configurations for Pulse services without requiring a full restart.

Bash
Copy

Init Sharding

This command initializes sharding for the supported Pulse services. It should be used during the initial setup or when resetting shard configurations.

Bash
Copy

FSImage Load Command

This command loads the FSImage data into the system.

Bash
Copy

FSImage Process Command

This command processes the loaded FSImage data for analysis.

Bash
Copy

FSImage Reports Command

This command generates reports based on the processed FSImage data.

Bash
Copy

Dyanamic NATS Allocation

Use this API to configure the environment variables required to enable dynamic NATS allocation for backend services.

Bash
Copy

Events Health Check

List Streams

Returns the details of a specific stream. If streamName is left blank, the API returns all available streams.

Bash
Copy

View Streams

Returns the complete message stored at the specified offset within a stream.

Bash
Copy

Delete Stream

Deletes the specified stream.

Bash
Copy

List Consumers of a Stream

Returns all consumers associated with the specified stream.

Bash
Copy

View Consumer Info

Returns detailed information about the specified consumer in a stream.

Bash
Copy

Delete Consumer

Deletes the specified consumer from a stream.

Bash
Copy

Update Stream Config

Updates the configuration of the specified stream, including the maximum number of messages it can retain.

Bash
Copy

Encrypt Text API

Encrypts a plaintext value and returns an encrypted string that can be used for sensitive notification credentials in Alert configurations.

Bash
Copy

Parameter

  • encrypt - The plaintext value to be encrypted.

Use the encrypted output when configuring sensitive notification credentials such as:

  • jira.jiraToken
  • bigpanda.appKey
  • bigpanda.authToken
  • quantum.subscriptionKey
  • xmatters.userGroups[].userKey

The encrypted value returned by this API must be used in the Alert Notification configuration. Providing these credentials in plain text may result in notification delivery failures.

VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches