Hello,
I using in my application axon 4.4.2 with extension kafka 4.0-RC3, and i have the below configuration in the producer service
axon:
kafka:
default-topic: dev_xxxxx
transaction.state.log.replication.factor: 3
transaction.state.log.min.isr: 3
properties:
security.protocol: SASL_SSL
sasl.kerberos.service.name: kafka
sasl.jaas.config: com.sun.security.auth.module.Krb5LoginModule required doNotPrompt=true useKeyTab=true storeKey=true keyTab="xxxxx.keytab" principal="xxxxx" client=true debug=true serviceName="kafka";
publisher:
confirmation-mode: none
producer:
transaction-id-prefix: xx
bootstrap-servers:
- xxxxx:1111
- xxxxx:1111
- xxxxx:1111
retries: 5
with this config i have this error
org.apache.kafka.common.errors.TransactionalIdAuthorizationException: Transactional Id authorization failed
2021-03-04 21:40:18.867 | [EventProcessor[org.axonframework.extensions.kafka.eventhandling.producer]-0] | ERROR |
o.a.e.LoggingErrorHandler | EventListener [KafkaEventPublisher] failed to handle event [749c3757-0317-4c59-a059-b712f8ded681] (AssignedEvent). Continuing processing with next listener