Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-13184

KafkaProducerException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • config
    • None

    Description

       we are receiving timeout error. please help me on this issue

       

      Producer configuation

      acks = all
      batch.size = 16384
      bootstrap.servers = [127.0.0.1:9091]
      buffer.memory = 33554432
      client.dns.lookup = default
      client.id =
      compression.type = snappy
      connections.max.idle.ms = 540000
      delivery.timeout.ms = 120000
      enable.idempotence = true
      interceptor.classes = []
      key.serializer = class org.apache.kafka.common.serialization.StringSerializer
      linger.ms = 5
      max.block.ms = 60000
      max.in.flight.requests.per.connection = 5
      max.request.size = 1048576
      metadata.max.age.ms = 300000
      metric.reporters = []
      metrics.num.samples = 2
      metrics.recording.level = INFO
      metrics.sample.window.ms = 30000
      partitioner.class = class org.apache.kafka.clients.producer.internals.DefaultPartitioner
      receive.buffer.bytes = 32768
      reconnect.backoff.max.ms = 5000
      reconnect.backoff.ms = 100
      request.timeout.ms = 300000
      retries = 3
      retry.backoff.ms = 1000
      sasl.client.callback.handler.class = null
      sasl.jaas.config = null
      sasl.kerberos.kinit.cmd = /usr/bin/kinit
      sasl.kerberos.min.time.before.relogin = 60000
      sasl.kerberos.service.name = null
      sasl.kerberos.ticket.renew.jitter = 0.05
      sasl.kerberos.ticket.renew.window.factor = 0.8
      sasl.login.callback.handler.class = null
      sasl.login.class = null
      sasl.login.refresh.buffer.seconds = 300
      sasl.login.refresh.min.period.seconds = 60
      sasl.login.refresh.window.factor = 0.8
      sasl.login.refresh.window.jitter = 0.05
      sasl.mechanism = GSSAPI
      security.protocol = PLAINTEXT
      send.buffer.bytes = 131072
      ssl.cipher.suites = null
      ssl.enabled.protocols = [TLSv1.2, TLSv1.1, TLSv1]
      ssl.endpoint.identification.algorithm = https
      ssl.key.password = null
      ssl.keymanager.algorithm = SunX509
      ssl.keystore.location = null
      ssl.keystore.password = null
      ssl.keystore.type = JKS
      ssl.protocol = TLS
      ssl.provider = null
      ssl.secure.random.implementation = null
      ssl.trustmanager.algorithm = PKIX
      ssl.truststore.location = null
      ssl.truststore.password = null
      ssl.truststore.type = JKS
      transaction.timeout.ms = 60000
      transactional.id = null
      value.serializer = class org.springframework.kafka.support.serializer.JsonSerializer

      org.springframework.kafka.core.KafkaProducerException: Failed to send; nested exception is org.apache.kafka.common.errors.TimeoutException: Expiring 36 record(s) for test-9:442705 ms has passed since batch creation
      at org.springframework.kafka.core.KafkaTemplate.lambda$buildCallback$4(KafkaTemplate.java:424)
      at org.springframework.kafka.core.KafkaTemplate$$Lambda$1362/0x0000000000000000.onCompletion(Unknown Source)
      at org.apache.kafka.clients.producer.KafkaProducer$InterceptorCallback.onCompletion(KafkaProducer.java:131

      Attachments

        Activity

          People

            Unassigned Unassigned
            rajenkum rajendra
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: