Is there any property or configuration available to set acks=all for OOTB Producer that comes with Flowable Event Registry (Send-Event Task)?
You can set this where the Kafka producer is configured within your application. Using Spring you could configure a bean such as
@Bean
public ProducerFactory<String, String> flowableProducerFactory() {
Map<String, Object> configProps = new HashMap<>();
configProps.put(
ProducerConfig.BOOTSTRAP_SERVERS_CONFIG,
bootstrapAddress);
configProps.put(
ProducerConfig.KEY_SERIALIZER_CLASS_CONFIG,
StringSerializer.class);
configProps.put(
ProducerConfig.VALUE_SERIALIZER_CLASS_CONFIG,
StringSerializer.class);
configProps.put(
ProducerConfig.ACKS_CONFIG,"all");
}
When using Spring Boot you can also do this via property:
spring.kafka.producer.properties.acks=all
Flowable is using the default Producer Factory configured by Spring Boot to send the messages.
Cheers,
Filip