Skip to main content
Version: 3.0.0

Available Events

This section lists events that are available in Apache Ignite 3.

Connection Events

These events are fired every time a client connects to the cluster, or disconnects from it.

Event TypeDescription
CLIENT_CONNECTION_ESTABLISHEDConnection with the client established. Connection info contains information about the client.
CLIENT_CONNECTION_CLOSEDConnection with the client closed. Connection info contains information about the client.

Authentication Events

These events are fired when the user performs an action that requires authentication.

Event TypeDescription
USER_AUTHENTICATION_SUCCESSUser was authenticated on the cluster.
USER_AUTHENTICATION_FAILUREUser failed to authenticate on the cluster. Get the username from the event's identity field.

Authorization Events

These events are fired when the user performs an action that requires authentication. Each event body has a list of privileges, where every privelege is an object with the action and selector. For more details see User Permissions and Roles section.

Event TypeDescription
USER_AUTHORIZATION_SUCCESSAn action was authorized for the user on a specific object.
USER_AUTHORIZATION_FAILUREAn action was denied to the user on a specific object.

Query Events

These events are fired when the user performs a query.

Event TypeDescription
QUERY_STARTEDA new query was started.
QUERY_FINISHEDQuery execution is finished.

Query Event Structure

Each query event has the following fields:

Field NameDescription
initiatorName of a node that initiated the query.
idQuery ID.
schemaName of the schema that was used to resolve non-qualified object names.
sqlAn original query string.
parentIdID of the parent query, if any.
statementNumberA 0-based index of query within the script, if applicable. Returns -1 otherwise.
txIdID of the transaction, if known.
startTimeTime at which query appears on server. Applicable only to QUERY_FINISHED events.
typeOptional Type of the query, if known.
errorOptional An error, if one occurred during execution and caused the query to terminate.

Compute Job Events

These events describe the possible states of a compute job.

Event TypeDescription
COMPUTE_JOB_QUEUEDTriggered when a compute job is added to the execution queue.
COMPUTE_JOB_EXECUTINGTriggered when a compute job starts execution.
COMPUTE_JOB_FAILEDTriggered when a compute job fails and throws an exception during execution.
COMPUTE_JOB_COMPLETEDTriggered when a compute job is finished successfully.
COMPUTE_JOB_CANCELINGTriggered when a compute job cancellation is requested.
COMPUTE_JOB_CANCELEDTriggered when a compute job has been canceled.

Compute Job Event Structure

Each compute job event has the following fields:

Field NameDescription
typeType of the compute job. Could be SINGLE, BROADCAST, MAP_REDUCE or DATA_RECEIVER.

Single job is the most common type, assigned to jobs that are executed on a single node. Broadcast jobs are executed on many nodes simultaneously. Map reduce jobs are the jobs that are submitted from the map reduce task. Data receiver is an internal compute job that is used when data streamer API is used.
classNameClass name of a job.
jobIdCompute job ID.
targetNodeName of the node where a job is executed.
initiatorNodeName of the node where a submit request is processed.
taskIdOptional Сommon ID for all broadcast compute jobs submitted from a single invocation.
tableNameOptional Table name for colocated jobs or partitioned broadcast jobs.
clientAddressOptional A socket address of a thin client that submitted a job.

Map Reduce Task Events

These events describe the possible states of a map reduce task.

Event TypeDescription
MAP_REDUCE_TASK_QUEUEDTriggered when a map reduce task is added to the execution queue.
MAP_REDUCE_TASK_EXECUTINGTriggered when a map reduce task starts execution.
MAP_REDUCE_TASK_FAILEDTriggered when a map reduce task fails and throws an exception during execution.
MAP_REDUCE_TASK_COMPLETEDTriggered when a map reduce task is finished successfully.
MAP_REDUCE_TASK_CANCELEDTriggered when a map reduce task has been canceled.

Map Reduce Event Structure

Each task event has the following fields:

Field NameDescription
typeType of the task. Always is a MAP_REDUCE event type.
classNameClass name of a task.
taskIdID of a map reduce task.
targetNodeName of the node where a task is executed.
clientAddressOptional A socket address of a thin client that submitted a task.