Constants - kafka

  • CONSUMER_ERROR string {ballerina/kafka}ConsumerError
  • PRODUCER_ERROR string {ballerina/kafka}ProducerError
  • ACKS_ALL string all
  • Producer acknowledgement type 'all'. This will gurantee that the record will not be lost as long as at least one in-sync replica is alive.

  • ACKS_NONE string 0
  • Producer acknowledgement type '0'. If the acknowledgement type set to this, the producer will not wait for any acknowledgement from the server.

  • ACKS_SINGLE string 1
  • Producer acknowledgement type '1'. If the acknowledgement type set to this, the leader will write the record to its local log but will respond without awaiting full acknowledgement from all followers.