Async History in CMMN engine

I have successfully created the flow for async history using apache Kafka for a BPMN engine . Now I need to do the same in CMMN engine as well .
I tried looking in the CMMN flowable code but was not able to get the code for enabling the async history feature in CMMN engine .

Please Help !!

It’s equivalent to the bpmn engine: on the CmmnEngineConfiguration, you can set isAsyncHistoryEnabled and asyncHistoryExecutorActivate to true.