Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex Audit Trails
  • Getting started
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Management event reference
  • Data event reference
      • AlterConfigAdminApi
      • CreateCluster
      • CreateConnector
      • CreateTopic
      • CreateTopicAdminApi
      • CreateUser
      • DeleteCluster
      • DeleteConnector
      • DeleteTopic
      • DeleteTopicAdminApi
      • DeleteUser
      • GrantUserPermission
      • MoveCluster
      • PauseConnector
      • ResumeConnector
      • RevokeUserPermission
      • SetClusterAccessBindings
      • StartCluster
      • StopCluster
      • UpdateCluster
      • UpdateClusterAccessBindings
      • UpdateConnector
      • UpdateTopic
      • UpdateUser
  • Release notes

In this article:

  • Event JSON schema
  • Field description
  • IamAuthentication
  • IamTokenInfo
  • Authorization
  • ResourceMetadata
  • Resource
  • RequestMetadata
  • Status
  • TopicEventDetails
  • Topic
  • TopicConfig2_8
  • TopicConfig3
  • TopicConfig4
  1. Audit log reference
  2. mdb.kafka
  3. CreateTopic

Managed Service for Apache Kafka® Audit Trails Events: CreateTopic

Written by
Yandex Cloud
Updated at April 15, 2026
  • Event JSON schema
  • Field description
  • IamAuthentication
  • IamTokenInfo
  • Authorization
  • ResourceMetadata
  • Resource
  • RequestMetadata
  • Status
  • TopicEventDetails
  • Topic
  • TopicConfig2_8
  • TopicConfig3
  • TopicConfig4

Event JSON schemaEvent JSON schema

{
  "eventId": "string",
  "eventSource": "string",
  "eventType": "string",
  "eventTime": "string",
  "authentication": {
    "authenticated": "boolean",
    // Includes only one of the fields `subjectType`
    "subjectType": "string",
    // end of the list of possible fields
    // Includes only one of the fields `subjectId`
    "subjectId": "string",
    // end of the list of possible fields
    // Includes only one of the fields `subjectName`
    "subjectName": "string",
    // end of the list of possible fields
    // Includes only one of the fields `federationId`
    "federationId": "string",
    // end of the list of possible fields
    // Includes only one of the fields `federationName`
    "federationName": "string",
    // end of the list of possible fields
    // Includes only one of the fields `federationType`
    "federationType": "string",
    // end of the list of possible fields
    "tokenInfo": {
      "maskedIamToken": "string",
      // Includes only one of the fields `iamTokenId`
      "iamTokenId": "string",
      // end of the list of possible fields
      // Includes only one of the fields `impersonatorId`
      "impersonatorId": "string",
      // end of the list of possible fields
      // Includes only one of the fields `impersonatorType`
      "impersonatorType": "string",
      // end of the list of possible fields
      // Includes only one of the fields `impersonatorName`
      "impersonatorName": "string",
      // end of the list of possible fields
      // Includes only one of the fields `impersonatorFederationId`
      "impersonatorFederationId": "string",
      // end of the list of possible fields
      // Includes only one of the fields `impersonatorFederationName`
      "impersonatorFederationName": "string",
      // end of the list of possible fields
      // Includes only one of the fields `impersonatorFederationType`
      "impersonatorFederationType": "string"
      // end of the list of possible fields
    }
  },
  "authorization": {
    "authorized": "boolean"
  },
  "resourceMetadata": {
    "path": [
      {
        "resourceType": "string",
        "resourceId": "string",
        // Includes only one of the fields `resourceName`
        "resourceName": "string"
        // end of the list of possible fields
      }
    ]
  },
  "requestMetadata": {
    "remoteAddress": "string",
    "userAgent": "string",
    "requestId": "string",
    // Includes only one of the fields `remotePort`
    "remotePort": "string"
    // end of the list of possible fields
  },
  "eventStatus": "string",
  "error": {
    "code": "integer",
    "message": "string",
    "details": [
      "object"
    ]
  },
  "details": {
    "clusterId": "string",
    "topicName": "string",
    "clusterName": "string",
    "topic": {
      "name": "string",
      "clusterId": "string",
      "partitions": "string",
      "replicationFactor": "string",
      // Includes only one of the fields `topicConfig_2_8`, `topicConfig_3`, `topicConfig_4`
      "topicConfig_2_8": {
        "cleanupPolicy": "string",
        "compressionType": "string",
        "deleteRetentionMs": "string",
        "fileDeleteDelayMs": "string",
        "flushMessages": "string",
        "flushMs": "string",
        "minCompactionLagMs": "string",
        "retentionBytes": "string",
        "retentionMs": "string",
        "maxMessageBytes": "string",
        "minInsyncReplicas": "string",
        "segmentBytes": "string",
        "preallocate": "boolean",
        "messageTimestampType": "string"
      },
      "topicConfig_3": {
        "cleanupPolicy": "string",
        "compressionType": "string",
        "deleteRetentionMs": "string",
        "fileDeleteDelayMs": "string",
        "flushMessages": "string",
        "flushMs": "string",
        "minCompactionLagMs": "string",
        "retentionBytes": "string",
        "retentionMs": "string",
        "maxMessageBytes": "string",
        "minInsyncReplicas": "string",
        "segmentBytes": "string",
        "preallocate": "boolean",
        "messageTimestampType": "string"
      },
      "topicConfig_4": {
        "cleanupPolicy": "string",
        "compressionType": "string",
        "deleteRetentionMs": "string",
        "fileDeleteDelayMs": "string",
        "flushMessages": "string",
        "flushMs": "string",
        "minCompactionLagMs": "string",
        "retentionBytes": "string",
        "retentionMs": "string",
        "maxMessageBytes": "string",
        "minInsyncReplicas": "string",
        "segmentBytes": "string",
        "preallocate": "boolean",
        "messageTimestampType": "string"
      }
      // end of the list of possible fields
    }
  },
  "requestParameters": "object",
  "response": "object"
}

Field descriptionField description

Field

Description

eventId

string

eventSource

string

eventType

string

eventTime

string (date-time)

String in RFC3339 text format. The range of possible values is from
0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z, i.e. from 0 to 9 digits for fractions of a second.

To work with values in this field, use the APIs described in the
Protocol Buffers reference.
In some languages, built-in datetime utilities do not support nanosecond precision (9 digits).

authentication

IamAuthentication

authorization

Authorization

resourceMetadata

ResourceMetadata

requestMetadata

RequestMetadata

eventStatus

enum (EventStatus)

  • STARTED
  • ERROR
  • DONE
  • CANCELLED
  • RUNNING

error

Status

The error result of the operation in case of failure or cancellation.

details

TopicEventDetails

requestParameters

object

response

object

IamAuthenticationIamAuthentication

Field

Description

authenticated

boolean

subjectType

enum (IamSubjectType)

Includes only one of the fields subjectType.

  • YANDEX_PASSPORT_USER_ACCOUNT
  • SERVICE_ACCOUNT
  • FEDERATED_USER_ACCOUNT
  • SSH_USER
  • KUBERNETES_USER

subjectId

string

Includes only one of the fields subjectId.

subjectName

string

Includes only one of the fields subjectName.

federationId

string

Includes only one of the fields federationId.

federationName

string

Includes only one of the fields federationName.

federationType

enum (FederationType)

Includes only one of the fields federationType.

  • GLOBAL_FEDERATION
  • PRIVATE_FEDERATION

tokenInfo

IamTokenInfo

IamTokenInfoIamTokenInfo

Field

Description

maskedIamToken

string

iamTokenId

string

Includes only one of the fields iamTokenId.

impersonatorId

string

Includes only one of the fields impersonatorId.

impersonatorType

enum (IamSubjectType)

Includes only one of the fields impersonatorType.

  • YANDEX_PASSPORT_USER_ACCOUNT
  • SERVICE_ACCOUNT
  • FEDERATED_USER_ACCOUNT
  • SSH_USER
  • KUBERNETES_USER

impersonatorName

string

Includes only one of the fields impersonatorName.

impersonatorFederationId

string

Includes only one of the fields impersonatorFederationId.

impersonatorFederationName

string

Includes only one of the fields impersonatorFederationName.

impersonatorFederationType

enum (FederationType)

Includes only one of the fields impersonatorFederationType.

  • GLOBAL_FEDERATION
  • PRIVATE_FEDERATION

AuthorizationAuthorization

Field

Description

authorized

boolean

ResourceMetadataResourceMetadata

Field

Description

path[]

Resource

ResourceResource

Field

Description

resourceType

string

resourceId

string

resourceName

string

Includes only one of the fields resourceName.

RequestMetadataRequestMetadata

Field

Description

remoteAddress

string

userAgent

string

requestId

string

remotePort

string (int64)

Includes only one of the fields remotePort.

StatusStatus

The error result of the operation in case of failure or cancellation.

Field

Description

code

integer (int32)

Error code. An enum value of google.rpc.Code.

message

string

An error message.

details[]

object

A list of messages that carry the error details.

TopicEventDetailsTopicEventDetails

Field

Description

clusterId

string

The maximum string length in characters is 50.

topicName

string

The maximum string length in characters is 249.

clusterName

string

The maximum string length in characters is 63.

topic

Topic

TopicTopic

Field

Description

name

string

clusterId

string

partitions

string (int64)

replicationFactor

string (int64)

topicConfig_2_8

TopicConfig2_8

Includes only one of the fields topicConfig_2_8, topicConfig_3, topicConfig_4.

topicConfig_3

TopicConfig3

Includes only one of the fields topicConfig_2_8, topicConfig_3, topicConfig_4.

topicConfig_4

TopicConfig4

Includes only one of the fields topicConfig_2_8, topicConfig_3, topicConfig_4.

TopicConfig2_8TopicConfig2_8

Field

Description

cleanupPolicy

enum (CleanupPolicy)

  • CLEANUP_POLICY_DELETE
  • CLEANUP_POLICY_COMPACT
  • CLEANUP_POLICY_COMPACT_AND_DELETE

compressionType

enum (CompressionType)

  • COMPRESSION_TYPE_UNCOMPRESSED
  • COMPRESSION_TYPE_ZSTD
  • COMPRESSION_TYPE_LZ4
  • COMPRESSION_TYPE_SNAPPY
  • COMPRESSION_TYPE_GZIP
  • COMPRESSION_TYPE_PRODUCER

deleteRetentionMs

string (int64)

fileDeleteDelayMs

string (int64)

flushMessages

string (int64)

flushMs

string (int64)

minCompactionLagMs

string (int64)

retentionBytes

string (int64)

retentionMs

string (int64)

maxMessageBytes

string (int64)

minInsyncReplicas

string (int64)

segmentBytes

string (int64)

preallocate

boolean

messageTimestampType

enum (MessageTimestampType)

  • MESSAGE_TIMESTAMP_TYPE_CREATE_TIME
  • MESSAGE_TIMESTAMP_TYPE_LOG_APPEND_TIME

TopicConfig3TopicConfig3

Field

Description

cleanupPolicy

enum (CleanupPolicy)

  • CLEANUP_POLICY_DELETE
  • CLEANUP_POLICY_COMPACT
  • CLEANUP_POLICY_COMPACT_AND_DELETE

compressionType

enum (CompressionType)

  • COMPRESSION_TYPE_UNCOMPRESSED
  • COMPRESSION_TYPE_ZSTD
  • COMPRESSION_TYPE_LZ4
  • COMPRESSION_TYPE_SNAPPY
  • COMPRESSION_TYPE_GZIP
  • COMPRESSION_TYPE_PRODUCER

deleteRetentionMs

string (int64)

fileDeleteDelayMs

string (int64)

flushMessages

string (int64)

flushMs

string (int64)

minCompactionLagMs

string (int64)

retentionBytes

string (int64)

retentionMs

string (int64)

maxMessageBytes

string (int64)

minInsyncReplicas

string (int64)

segmentBytes

string (int64)

preallocate

boolean

messageTimestampType

enum (MessageTimestampType)

  • MESSAGE_TIMESTAMP_TYPE_CREATE_TIME
  • MESSAGE_TIMESTAMP_TYPE_LOG_APPEND_TIME

TopicConfig4TopicConfig4

Field

Description

cleanupPolicy

enum (CleanupPolicy)

  • CLEANUP_POLICY_DELETE
  • CLEANUP_POLICY_COMPACT
  • CLEANUP_POLICY_COMPACT_AND_DELETE

compressionType

enum (CompressionType)

  • COMPRESSION_TYPE_UNCOMPRESSED
  • COMPRESSION_TYPE_ZSTD
  • COMPRESSION_TYPE_LZ4
  • COMPRESSION_TYPE_SNAPPY
  • COMPRESSION_TYPE_GZIP
  • COMPRESSION_TYPE_PRODUCER

deleteRetentionMs

string (int64)

fileDeleteDelayMs

string (int64)

flushMessages

string (int64)

flushMs

string (int64)

minCompactionLagMs

string (int64)

retentionBytes

string (int64)

retentionMs

string (int64)

maxMessageBytes

string (int64)

minInsyncReplicas

string (int64)

segmentBytes

string (int64)

preallocate

boolean

messageTimestampType

enum (MessageTimestampType)

  • MESSAGE_TIMESTAMP_TYPE_CREATE_TIME
  • MESSAGE_TIMESTAMP_TYPE_LOG_APPEND_TIME

Was the article helpful?

Previous
CreateConnector
Next
CreateTopicAdminApi
© 2026 Direct Cursus Technology L.L.C.