{"type":"model","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/80d47b4b-45fb-3fe5-9677-6b13ca96ca96","info":{"title":"External Kafka Subscription v2 APIs","description":"External kafka subscription APIs exposed by Notification service.","contact":{"name":"Crosswork Team, Cisco","email":"support@cisco.com"},"license":{"name":"Cisco Software License Agreement","url":"http://www.cisco.com/public/sw-license-agreement.html"},"version":"1.0.0"},"x-parser-conf":{"overview":{"markdownPath":"reference/EMF/Notification/extrnl-kafka-v2-api-overview.md"}},"openapi":"3.1.0","servers":[{"url":"https://{server_ip}:30603/crosswork/notification/v2","description":"Generated server url"}]},"spec":{"type":"object","description":"This is a wrapper of ExternalKafkaPropertyDTOv2","properties":{"kafkaProperties":{"uniqueItems":true,"type":"array","description":"Collection of ExternalKafkaPropertyDTOv2","items":{"type":"object","description":"This is a record of external kafka property","properties":{"batchSize":{"type":"integer","format":"int64","description":"Maximum number of bytes that will be included in one batch","minimum":1048576,"maximum":52428800},"bufferMemory":{"type":"integer","format":"int64","description":"This sets the amount of memory(in bytes) the producer will use to buffer messages waiting to be sent to broker","minimum":104857600,"maximum":209715200},"compressionType":{"type":"string","description":"The messages will be compressed before sending them to the broker, possible values [snappy,gzip,lz4,zsdt,none]"},"destinationName":{"type":"string","description":"Destination name to be created"},"enableSecureCommunication":{"type":"boolean","description":"To enable secure communication [true or false]"},"kafkaServer":{"type":"string","description":"Ip-address or Fqdn of kafka-server"},"kafkaServerPort":{"type":"integer","format":"int32","description":"Port of kafka-server"},"linger":{"type":"integer","format":"int32","description":"The number of milliseconds a producer is willing to wait before sending a batch out","minimum":2000,"maximum":5000},"maxMessageSize":{"type":"integer","format":"int64","description":"Limits the size of messages(in bytes) that it’s allowed to send","minimum":1048576,"maximum":10485760},"requestTimeout":{"type":"integer","format":"int32","description":"The configuration controls the maximum amount of time(in seconds) the client will wait for the response of a request","minimum":30,"maximum":60}},"$$ref":"#/components/schemas/ExternalKafkaPropertyDTOv2"}}},"$$ref":"#/components/schemas/ExternalKafkaPropertiesListDTOv2","title":"ExternalKafkaPropertiesListDTOv2"}}