Skip to main content

Axoniq

@gklijs/axoniqv2026.10.18.1· MIT· 1mo agoBEHAVIORSWORKFLOWSREPORTSACCEPTED WARNINGS
01README

Operate Axon Server (cluster/context/node status, processor pause/start, segment split/merge/move), dispatch commands and queries, publish events, read aggregate events/snapshots through the integration API, and query Axoniq Platform.

02Release Notes

Initial release: Axon Server node/cluster/context status, processor pause/start, segment split/merge/move, integration-API commands/queries/events/aggregate reads, Axoniq Platform queries, reset workflow with a manual token-reset gate, cluster health report, unit tests and a Docker integration suite.

03Behaviors3
@gklijs/axoniq/axon-serverv2026.10.18.1axon_server.ts

Global Arguments

ArgumentTypeDescription
baseUrlstringAxon Server base URL, e.g. http://localhost:8024
token?stringAccess token when access control is enabled - store in a vault. Sent as the AxonIQ-Access-Token header.
context?stringDefault context for processor operations
fn cluster_status()
Fetch Axon Server node list via GET /v1/cluster
fn node_status()
Fetch this node's status via GET /v1/public/me
fn list_contexts()
List contexts via GET /v1/public/context
fn list_processors(component: string, context?: string)
List processors registered for one component via GET /v1/components/{component}/processors
ArgumentTypeDescription
componentstringComponent name
context?stringContext; defaults to global context
fn pause_processor(component: string, processor: string, context?: string, tokenStoreIdentifier?: string)
Pause a streaming event processor on all matched instances
ArgumentTypeDescription
componentstringComponent name owning the processor
processorstringProcessor name
context?stringContext; defaults to global context
tokenStoreIdentifier?stringToken store identifier; defaults to the processor name
fn start_processor(component: string, processor: string, context?: string, tokenStoreIdentifier?: string)
Start a paused streaming event processor
ArgumentTypeDescription
componentstringComponent name owning the processor
processorstringProcessor name
context?stringContext; defaults to global context
tokenStoreIdentifier?stringToken store identifier; defaults to the processor name
fn split_segment(component: string, processor: string, context?: string, tokenStoreIdentifier?: string)
Split the segments of a processor (server picks the split point)
ArgumentTypeDescription
componentstringComponent name owning the processor
processorstringProcessor name
context?stringContext; defaults to global context
tokenStoreIdentifier?stringToken store identifier; defaults to the processor name
fn merge_segment(component: string, processor: string, context?: string, tokenStoreIdentifier?: string)
Merge the segments of a processor (server picks the merge pair)
ArgumentTypeDescription
componentstringComponent name owning the processor
processorstringProcessor name
context?stringContext; defaults to global context
tokenStoreIdentifier?stringToken store identifier; defaults to the processor name
fn move_segment(component: string, processor: string, context?: string, tokenStoreIdentifier?: string)
Move one segment to another processing instance
ArgumentTypeDescription
componentstringComponent name owning the processor
processorstringProcessor name
context?stringContext; defaults to global context
tokenStoreIdentifier?stringToken store identifier; defaults to the processor name

Resources

cluster(infinite)— Axon Server cluster overview snapshot
processor_state(infinite)— Processor pause/start/segment action result
processor_list(infinite)— Processors registered for one component
@gklijs/axoniq/http-bridgev2026.10.18.1http_bridge.ts

Global Arguments

ArgumentTypeDescription
baseUrlstringAxon Server HTTP integration base URL, e.g. http://localhost:8024
token?stringAccess token when access control is enabled - store in a vault. Sent as the AxonIQ-Access-Token header.
context?stringAxon Server context to target
payloadType?stringSerializedObject type for message payloads, e.g. com.example.OrderPlaced
fn send_command(payload: unknown, name: string, metaData?: record, routingKey?: string, priority?: number, messageId?: string)
Dispatch a command with a JSON payload via POST /v2/commands
ArgumentTypeDescription
payloadunknownMessage payload; objects are JSON-encoded, strings are sent as-is
namestringMessage name, e.g. com.example.OrderPlaced
metaData?recordMessage metadata (string values only)
routingKey?stringRouting key for commands
priority?numberCommand priority
messageId?stringMessage identifier; auto-generated when omitted
fn send_query(payload: unknown, name: string, metaData?: record, routingKey?: string, priority?: number, messageId?: string)
Dispatch a query with a JSON payload via POST /v2/queries
ArgumentTypeDescription
payloadunknownMessage payload; objects are JSON-encoded, strings are sent as-is
namestringMessage name, e.g. com.example.OrderPlaced
metaData?recordMessage metadata (string values only)
routingKey?stringRouting key for commands
priority?numberCommand priority
messageId?stringMessage identifier; auto-generated when omitted
fn publish_event(events: array)
Append events via POST /v2/events (Integration API array body)
ArgumentTypeDescription
eventsarrayEvents to append
fn read_aggregate(aggregateId: string, minSequence?: number)
Read events for one aggregate via GET /v2/aggregates/{id}/events
ArgumentTypeDescription
aggregateIdstringAggregate identifier
minSequence?number
fn read_snapshots(aggregateId: string)
Read snapshots for one aggregate via GET /v2/aggregates/{id}/snapshots
ArgumentTypeDescription
aggregateIdstringAggregate identifier

Resources

message_result(infinite)— Result of a command/query/event sent through the integration API
aggregate_events(infinite)— Events read back for one aggregate instance
@gklijs/axoniq/consolev2026.10.18.1console.ts

Global Arguments

ArgumentTypeDescription
baseUrl?stringAxoniq Platform base URL
tokenstringAxoniq Platform API token - store in a vault
environment?stringEnvironment/workspace id sent as the environment query parameter
contextsPath?stringPath returning the workspaces/environments visible to the token
processorsPath?stringPath returning the processor overview for the selected environment
deadLettersPath?stringPath returning dead-letter entries for the selected environment
fn list_workspaces()
List workspaces/environments visible to the token
fn processor_overview()
Fetch the processor management overview for the selected environment
fn dead_letters(processor?: string, limit?: number)
List dead-letter queue entries for the selected environment
ArgumentTypeDescription
processor?stringFilter to one processor
limit?number

Resources

platform_state(infinite)— Snapshot returned by an Axoniq Platform query
04Workflows1
@gklijs/reset-processor00000000-0000-4000-8000-000000000001

Pause a streaming event processor, wait for an operator to reset the tokens, then start it again. The token reset itself runs inside the Axon Framework app or via the Axon Server Connector; this workflow brackets it with the pause/start API calls so all instances stop before the reset and resume after. The manual approval step is the gate: approve it only once the reset is done.

resetPause, gate on the token reset, then start
1.pauseaxon-server.pause_processor— Pause the processor on all instances
2.await-token-reset— Perform the token reset in the application, then approve this step to start the processor again. Rejecting leaves the processor paused.
3.startaxon-server.start_processor— Start the processor after the token reset completed
05Reports1
@gklijs/axoniq/cluster-healthmodel
cluster_health.ts

Summarize the latest Axon Server cluster snapshot and recent processor actions

06Stats
A
100 / 100
Downloads
10
Archive size
13.4 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License2/2earned
  • Verified public repository2/2earned

08Platforms
09Labels