Idempotent Producer in Alpakka Kafka


I see that Alpakka Kafka support transaction and therefore exactly one semantic. However, I was wondering if it support the underlying producer being set as an Idempotent Producer i.e. “enable.idempotence=true” config.

Please note that there is a difference between idempotent producer and transactional Producer. The former is idempotant for the lifespan of the prodcuer, while the later is accros restart. Hence i want to know how alpakka handle the two cases please

Generally speaking, what is the relation between Alpakka Kafka setting and Kafka Producer/Consumer settings? Can they just be used at the same time? or one should only use the Alpaka Configuration setting and never touch the underlying setting ourself ?