Axon 参考指南
  • 介绍
  • 架构概览
    • DDD & CQRS 概念
    • 事件溯源
    • 事件驱动的微服务
  • Axon Server
  • 发行说明
    • Axon Framework
      • Major Releases
      • Minor Releases
    • Axon Server
      • Major Releases
      • Minor Releases Standard Edition
      • Minor Releases Enterprise Edition
    • Axon Framework Extensions
      • AMQP
        • Major Releases
      • CDI
        • Major Releases
      • JGroups
        • Major Releases
      • Kafka
        • Major Releases
        • Minor Releases
      • Kotlin
        • Experimental Releases
      • Mongo
        • Major Releases
        • Minor Releases
      • Reactor
        • Major Releases
        • Minor Releases
      • Spring Cloud
        • Major Releases
        • Minor Releases
      • Tracing
        • Major Releases
        • Minor Releases
  • Getting Started
    • 快速开始
  • Axon Framework
    • 介绍
    • 消息传递概念
      • 消息剖析
      • 消息关联
      • 消息拦截
      • 支持带注解的处理程序
      • 异常处理
      • 工作单元
    • 命令
      • 建模
        • 聚合
        • 多实体聚合
        • 聚合状态存储
        • 从另一个聚合创建聚合
        • 聚合多态性
        • 解决冲突
      • 命令调度器
      • 命令处理程序
      • 基础设施
      • 配置
    • 事件
      • 事件调度器
      • 事件处理程序
      • 事件处理器
        • 订阅事件处理器
        • 流式事件处理器
      • 事件总线和事件存储
      • 事件版本控制
    • 查询
      • 查询处理
      • 查询调度器
      • 查询处理程序
      • 实现
      • 配置
    • 长时处理过程(Sagas)
      • 实现
      • 关联
      • 基础设施
    • Deadlines
      • Deadline Managers
      • Event Schedulers
    • 测试
      • 命令 / 事件
      • 长时处理过程(Sagas)
    • 序列化
    • 调整
      • 事件快照
      • 事件处理
      • 命令处理
    • 监控和指标
    • Spring Boot 集成
    • 模块
  • Axon Server
    • 介绍
    • 安装
      • 本地安装
        • Axon Server SE
        • Axon Server EE
      • Docker / K8s
        • Axon Server SE
        • Axon Server EE
    • 管理
      • 配置
        • System Properties
        • Command Line Interface
        • REST API
        • GRPC API
      • Monitoring
        • Actuator Endpoints
        • gRPC Metrics
        • Heartbeat Monitoring
      • Clusters
      • Replication Groups
      • Multi-Context
      • Tagging
      • Backup and Messaging-only Nodes
      • Backups
      • Recovery
      • Plugins
      • Error Codes
    • 安全
      • SSL
      • 访问控制
      • 访问控制 - 标准版
      • 访问控制 - 企业版
      • 访问控制 - 客户端应用程序
      • 访问控制 - 命令行
      • 访问控制 - REST API
      • 访问控制 - LDAP
      • 访问控制 - OAuth 2.0
    • 性能
      • 事件段
      • 流量控制
    • 迁移
      • Standard to Enterprise Edition
      • Non-Axon Server to Axon Server
  • Extensions
    • Spring AMQP
    • JGroups
    • Kafka
    • Kotlin
    • Mongo
    • Reactor
      • Reactor Gateways
    • Spring Cloud
    • Tracing
  • Appendices
    • A. RDBMS Tuning
    • B. Message Handler Tuning
      • 参数解析器
      • 处理程序增强
    • C. 元数据注解
    • D. 标识符生成
    • E. Axon Server Query Language
由 GitBook 提供支持
在本页

最后更新于2年前

Event processor administration

Service name:

Operation
Purpose
Method

* Clients need to be already running and connected to AS before the operation is executed. ** It may not work if the two smallest segments are not claimed by applications connected to AS.

Context administration

Service name:

Operation
Purpose
Method

Replication group administration

Service name:

Operation
Purpose
Method

Replication group details

Provide all details about a replication group.

rpc GetReplicationGroup(GetReplicationGroupRequest) returns (ReplicationGroupOverview)

List replication groups

Provide a stream of all replication groups with details.

pc GetReplicationGroups(google.protobuf.Empty) returns (stream ReplicationGroupOverview)

List nodes

Provide a stream of all nodes in the cluster with details.

rpc GetNodes (google.protobuf.Empty) returns (stream NodeOverview)

Create replication group

Create a new replication group.

rpc CreateReplicationGroup(CreateReplicationGroupRequest) returns (stream google.protobuf.Empty)

Delete replication group

Delete an existing replication group.

rpc DeleteReplicationGroup(DeleteReplicationGroupRequest) returns (stream google.protobuf.Empty)

Add node

Add a node to a replication group with the specified role.

rpc AddNodeToReplicationGroup(JoinReplicationGroup) returns (stream google.protobuf.Empty)

Remove node

Remove a node from a replication group.

rpc RemoveNodeFromReplicationGroup(LeaveReplicationGroup) returns (stream google.protobuf.Empty)

  1. Axon Server
  2. 管理
  3. 配置

GRPC API

GRPC API

上一页REST API下一页Monitoring
  • Event processor administration
  • Context administration
  • Replication group administration

List all even processor

Provide a list of all event processors defined by the connected applications.

rpc GetAllEventProcessors(google.protobuf.Empty) returns (stream EventProcessor)

List event processo by component

Provide a list of all event processors defined by the specified component.

rpc GetEventProcessorsByComponent(Component) returns (stream EventProcessor)

Start event processor

Start a distributed event processor, propagating the start request to all EP instances connected to AS *

rpc StartEventProcessor(EventProcessorIdentifier) returns (AdminActionResult)

Pause event processor

Pause a distributed event processor, propagating the pause request to all EP instances connected to AS *

rpc PauseEventProcessor(EventProcessorIdentifier) returns (AdminActionResult)

Split event processor segment

Split the largest known segment of the distributed event processor into two segments.

rpc SplitEventProcessor(EventProcessorIdentifier) returns (AdminActionResult)

Merge event processor segments

Merge the smallest known two segments of the distributed event processor into one. **

rpc MergeEventProcessor(EventProcessorIdentifier) returns (AdminActionResult)

List load balance strategies

Provide a list of all load balancing strategies.

GetBalancingStrategies(google.protobuf.Empty) returns (stream LoadBalancingStrategy)

Load balance event processor

Balance the load across several instances of an event processor, accordingly to the selected strategy.

rpc LoadBalanceProcessor(LoadBalanceRequest) returns (stream google.protobuf.Empty)

Set auto load balance strategy

Define the load balancing strategy to use for automatic load balancing.

SetAutoLoadBalanceStrategy(LoadBalanceRequest) returns (stream google.protobuf.Empty)

Context details

Provide all details about a context.

rpc GetContext(GetContextRequest) returns (ContextOverview)

List contexts

Provide a stream of all contexts with details.

rpc GetContexts(google.protobuf.Empty) returns (stream ContextOverview)

Create context

Create a new context.

rpc CreateContext(CreateContextRequest) returns (stream google.protobuf.Empty)

Delete context

Delete an existing context.

rpc DeleteContext(DeleteContextRequest) returns (stream google.protobuf.Empty)

Update context properties

Update specified properties of a context.

rpc UpdateContextProperties(UpdateContextPropertiesRequest) returns (stream google.protobuf.Empty)

Subscribe to contexts' updates

Provide a stream of all changes in cluster configuration related to context (creations, deletions, updates).

rpc SubscribeContextUpdates(google.protobuf.Empty) returns (stream ContextUpdate)

EventProcessorAdminService
ContextAdminService
ReplicationGroupAdminService