axon-server:hosts:"agents.axonops.cloud"# AxonOps SaaS# hosts: "${AXONOPS_SERVER_HOSTS}" # AxonOps Server On-Premise Endpoint# port: 1888 # AxonOps Server On-Premise Port (Default is 1888)axon-agent:key:"<THIS_IS_A_DUMMY_KEY_PLEASE_UPDATE>"org:"<THIS_IS_A_DUMMY_ORG_NAME_PLEASE_UPDATE>"cluster_name:"<THIS_IS_A_DUMMY_CLUSTER_NAME_PLEASE_UPDATE>"tls:mode:"TLS"# disabled, TLS#skipVerify: false # Disables CA and Hostname verification#caFile: "path_to_certs_on_axon_agent_node.crt" # required if skipVerify is not set and you are using a self-signed cert#certFile: "path_to_certs_on_axon_agent_node.crt"#keyFile: "path_to_key_file_on_axon_agent_node.key"# Specify the NTP server IP addresses or hostnames configured for your hosts# The port defaults to 123 if not specified.# NTP:# hosts:# - "x.x.x.x:123"# Optionally restrict which commands can be executed by axon-agent.# If "true", only scripts placed in scripts_location can be executed by axon-agent.# disable_command_exec: false# If disable_command_exec is true then axon-agent is only allowed to execute scripts# under this path# scripts_location: /var/lib/axonops/scripts/kafka:node_type:"broker"# broker, kraft-broker, kraft-controller, zookeeper, connect# rack: "testrack" # Auto-detected from Kafka config, optionally override the rack to group nodes in AxonOpskafka_client:brokers:["<host_listener_ip_address_or_fqdn>:<port>>"]# 10.0.0.2:9092 or 10.20.30.40:9094 or this_is_my_server.domain.com:9093# Authentication Settingssasl:username:<THIS_IS_A_DUMMY_USERNAME_PLEASE_UPDATE>password:<THIS_IS_A_DUMMY_PASSWORD_PLEASE_UPDATE>mechanism:PLAIN# SCRAM-SHA-256, SCRAM-SHA-512, OAUTHBEARER, GSSAPI# For oauth support# oauth:# token:# clientId:# clientSecret:# tokenEndpoint:# scope:# For gssapi support# gssapi:# authType:# keyTabPath:# kerberosConfigPath:# serviceName:# username:# password:# realm:# enableFast: true# SSL settings for connection to Kafkatls:enabled:truecaFilepath:<THIS_IS_A_DUMMY_CA_PATH_PLEASE_UPDATE>insecureSkipTlsVerify:false
axon-server:hosts:"agents.axonops.cloud"# AxonOps SaaS# hosts: "${AXONOPS_SERVER_HOSTS}" # AxonOps Server On-Premise Endpoint# port: 1888 # AxonOps Server On-Premise Port (Default is 1888)axon-agent:key:"<THIS_IS_A_DUMMY_KEY_PLEASE_UPDATE>"org:"<THIS_IS_A_DUMMY_ORG_NAME_PLEASE_UPDATE>"cluster_name:"<THIS_IS_A_DUMMY_CLUSTER_NAME_PLEASE_UPDATE>"tls:mode:"TLS"# disabled, TLS#skipVerify: false # Disables CA and Hostname verification#caFile: "path_to_certs_on_axon_agent_node.crt" # required if skipVerify is not set and you are using a self-signed cert#certFile: "path_to_certs_on_axon_agent_node.crt"#keyFile: "path_to_key_file_on_axon_agent_node.key"# Specify the NTP server IP addresses or hostnames configured for your hosts# The port defaults to 123 if not specified.# NTP:# hosts:# - "x.x.x.x:123"# Optionally restrict which commands can be executed by axon-agent.# If "true", only scripts placed in scripts_location can be executed by axon-agent.# disable_command_exec: false# If disable_command_exec is true then axon-agent is only allowed to execute scripts# under this path# scripts_location: /var/lib/axonops/scripts/kafka:node_type:"zookeeper"# broker, kraft-broker, kraft-controller, zookeeper, connect# rack: "testrack" # Optionally specify a rack to group nodes in AxonOps
axon-server:hosts:"agents.axonops.cloud"# AxonOps SaaS# hosts: "${AXONOPS_SERVER_HOSTS}" # AxonOps Server On-Premise Endpoint# port: 1888 # AxonOps Server On-Premise Port (Default is 1888)axon-agent:key:"<THIS_IS_A_DUMMY_KEY_PLEASE_UPDATE>"org:"<THIS_IS_A_DUMMY_ORG_NAME_PLEASE_UPDATE>"cluster_name:"<THIS_IS_A_DUMMY_CLUSTER_NAME_PLEASE_UPDATE>"tls:mode:"TLS"# disabled, TLS#skipVerify: false # Disables CA and Hostname verification#caFile: "path_to_certs_on_axon_agent_node.crt" # required if skipVerify is not set and you are using a self-signed cert#certFile: "path_to_certs_on_axon_agent_node.crt"#keyFile: "path_to_key_file_on_axon_agent_node.key"# Specify the NTP server IP addresses or hostnames configured for your hosts# The port defaults to 123 if not specified.# NTP:# hosts:# - "x.x.x.x:123"# Optionally restrict which commands can be executed by axon-agent.# If "true", only scripts placed in scripts_location can be executed by axon-agent.# disable_command_exec: false# If disable_command_exec is true then axon-agent is only allowed to execute scripts# under this path# scripts_location: /var/lib/axonops/scripts/kafka:node_type:"kraft-broker"# broker, kraft-broker, kraft-controller, zookeeper, connect# rack: "testrack" # Auto-detected from Kafka config, optionally override the rack to group nodes in AxonOpskafka_client:brokers:["<host_listener_ip_address_or_fqdn>:<port>>"]# 10.0.0.2:9092 or 10.20.30.40:9094 or this_is_my_server.domain.com:9093# Authentication Settingssasl:username:<THIS_IS_A_DUMMY_USERNAME_PLEASE_UPDATE>password:<THIS_IS_A_DUMMY_PASSWORD_PLEASE_UPDATE>mechanism:PLAIN# SCRAM-SHA-256, SCRAM-SHA-512, OAUTHBEARER, GSSAPI# For oauth support# oauth:# token:# clientId:# clientSecret:# tokenEndpoint:# scope:# For gssapi support# gssapi:# authType:# keyTabPath:# kerberosConfigPath:# serviceName:# username:# password:# realm:# enableFast: true# SSL settings for connection to Kafkatls:enabled:truecaFilepath:<THIS_IS_A_DUMMY_CA_PATH_PLEASE_UPDATE>insecureSkipTlsVerify:false
axon-server:hosts:"agents.axonops.cloud"# AxonOps SaaS# hosts: "${AXONOPS_SERVER_HOSTS}" # AxonOps Server On-Premise Endpoint# port: 1888 # AxonOps Server On-Premise Port (Default is 1888)axon-agent:key:"<THIS_IS_A_DUMMY_KEY_PLEASE_UPDATE>"org:"<THIS_IS_A_DUMMY_ORG_NAME_PLEASE_UPDATE>"cluster_name:"<THIS_IS_A_DUMMY_CLUSTER_NAME_PLEASE_UPDATE>"tls:mode:"TLS"# disabled, TLS#skipVerify: false # Disables CA and Hostname verification#caFile: "path_to_certs_on_axon_agent_node.crt" # required if skipVerify is not set and you are using a self-signed cert#certFile: "path_to_certs_on_axon_agent_node.crt"#keyFile: "path_to_key_file_on_axon_agent_node.key"# Specify the NTP server IP addresses or hostnames configured for your hosts# The port defaults to 123 if not specified.# NTP:# hosts:# - "x.x.x.x:123"# Optionally restrict which commands can be executed by axon-agent.# If "true", only scripts placed in scripts_location can be executed by axon-agent.# disable_command_exec: false# If disable_command_exec is true then axon-agent is only allowed to execute scripts# under this path# scripts_location: /var/lib/axonops/scripts/kafka:node_type:"kraft-controller"# broker, kraft-broker, kraft-controller, zookeeper, connect# rack: "testrack" # Auto-detected from Kafka config, optionally override the rack to group nodes in AxonOpskafka_client:brokers:["<host_listener_ip_address_or_fqdn>:<port>>"]# 10.0.0.2:9092 or 10.20.30.40:9094 or this_is_my_server.domain.com:9093# Authentication Settingssasl:username:<THIS_IS_A_DUMMY_USERNAME_PLEASE_UPDATE>password:<THIS_IS_A_DUMMY_PASSWORD_PLEASE_UPDATE>mechanism:PLAIN# SCRAM-SHA-256, SCRAM-SHA-512, OAUTHBEARER, GSSAPI# For oauth support# oauth:# token:# clientId:# clientSecret:# tokenEndpoint:# scope:# For gssapi support# gssapi:# authType:# keyTabPath:# kerberosConfigPath:# serviceName:# username:# password:# realm:# enableFast: true# SSL settings for connection to Kafkatls:enabled:truecaFilepath:<THIS_IS_A_DUMMY_CA_PATH_PLEASE_UPDATE>insecureSkipTlsVerify:false
axon-server:hosts:"agents.axonops.cloud"# AxonOps SaaS# hosts: "${AXONOPS_SERVER_HOSTS}" # AxonOps Server On-Premise Endpoint# port: 1888 # AxonOps Server On-Premise Port (Default is 1888)axon-agent:key:"<THIS_IS_A_DUMMY_KEY_PLEASE_UPDATE>"org:"<THIS_IS_A_DUMMY_ORG_NAME_PLEASE_UPDATE>"cluster_name:"<THIS_IS_A_DUMMY_CLUSTER_NAME_PLEASE_UPDATE>"tls:mode:"TLS"# disabled, TLS#skipVerify: false # Disables CA and Hostname verification#caFile: "path_to_certs_on_axon_agent_node.crt" # required if skipVerify is not set and you are using a self-signed cert#certFile: "path_to_certs_on_axon_agent_node.crt"#keyFile: "path_to_key_file_on_axon_agent_node.key"# Specify the NTP server IP addresses or hostnames configured for your hosts# The port defaults to 123 if not specified.# NTP:# hosts:# - "x.x.x.x:123"# Optionally restrict which commands can be executed by axon-agent.# If "true", only scripts placed in scripts_location can be executed by axon-agent.# disable_command_exec: false# If disable_command_exec is true then axon-agent is only allowed to execute scripts# under this path# scripts_location: /var/lib/axonops/scripts/kafka:node_type:"connect"# broker, kraft-broker, kraft-controller, zookeeper, connect# rack: "testrack" # Optionally specify a rack to group nodes in AxonOps
Set file permissions on /etc/axonops/axon-agent.yml file by executing the following command
sudochmod0640/etc/axonops/axon-agent.yml
Configure Kafka
Edit kafka-server-start.sh, usually located in your Kafka install path such as:
/<Kafka_Home>/bin/kafka-server-start.sh
Configure Zookeeper
Edit zookeeper-server-start.sh, usually located in your Zookeeper install path such as:
/<Zookeeper_Home>/bin/zookeeper-server-start.sh
Configure KRaft Broker
Edit kafka-server-start.sh, usually located in your Kafka install path such as:
/<Kafka_Home>/bin/kafka-server-start.sh
Configure KRaft Controller
Edit kafka-server-start.sh, usually located in your Kafka install path such as:
/<Kafka_Home>/bin/kafka-server-start.sh
Configure Connect
Edit connect-distributed.sh, usually located in your Kafka install path such as:
/<Kafka_Home>/bin/connect-distributed.sh
Insert the line . /usr/share/axonops/axonops-jvm.options right before the final line in your config file. Look for the last line that starts with exec, as demonstrated in the example below.
NB. Please note the period(.) at the beginning of the config line.
To load the AxonOps Java Agent and Zookeeper config changes please either start the Zookeeper service if stopped or restart the Zookeeper service if already running.
Add axonops user to KRaft Broker user group and KRaft Broker user to axonops group
To load the AxonOps Java Agent and Kafka KRaft config changes please either start the Kafka KRaft service if stopped or restart the Kafka KRaft service if already running.
Add axonops user to KRaft Controller user group and KRaft Controller user to axonops group
To load the AxonOps Java Agent and Kafka KRaft config changes please either start the Kafka KRaft service if stopped or restart the Kafka KRaft service if already running.
Add axonops user to Kafka Connect user group and Kafka Connect user to axonops group
To load the AxonOps Java Agent and Kafka Connect config changes please either:
* Start the Kafka Connect service if stopped.
* Restart the Kafka Connect service if already running.