Topics

Create a new Kafka topic

Changed on
post/topics

Request

Request body

topic_namestring required

Kafka topic name

num_partitionsinteger

Number of partitions

replication_factorinteger nullable

Replication factor (defaults to broker count)

cleanup_policy'delete' | 'compact' | 'delete,compact'
min_insync_replicasinteger nullable

Minimum in-sync replicas

retention_msinteger nullable

Time to retain data in ms (-1 for unlimited)

retention_bytesinteger nullable

Max size on disk in bytes (-1 for unlimited)

max_message_bytesinteger nullable

Maximum message size in bytes

custom_configsobject nullable

Additional topic configs as key-value pairs

tagsstring[] nullable

Tag IDs to assign to the topic

Response

Successful Response

idstring required
namestring required
prefixstring nullable
num_partitionsinteger required
replication_factorinteger required

Changes

    • warning

      added the new freshdesk enum value to the // response property for the response status

    • warning

      added the new pipedrive enum value to the // response property for the response status

    • warning

      added the new shopify enum value to the // response property for the response status

    • warning

      added the new agents enum value to the / response property for the response status

    • warning

      added the new facebook_ads enum value to the // response property for the response status

    • warning

      added the new google_ads enum value to the // response property for the response status

    • warning

      added the new google_analytics enum value to the // response property for the response status

    • warning

      added the new hubspot enum value to the // response property for the response status

    • warning

      added the new netsuite enum value to the // response property for the response status

    • warning

      added the new salesforce enum value to the // response property for the response status

    • warning

      added the new stripe enum value to the // response property for the response status

    • warning

      added the new zendesk enum value to the // response property for the response status