.net 6 and Kafka: how to make the consumer to process one message in one session in c#?

.net 6 and Kafka: how to make the consumer to process one message in one session in c#?

Right now my consume timed out when I had SessionTimeoutMs = 60000 [one minute] and EnableAutoCommit=false .

Then.
I set the consumer config:
SessionTimeoutMs = 300000 [5 minutes]
MaxPollIntervals = 1800000 [30 minutes]

The same message processing got repeating for many transactions.
I had many transactions did not get processing.

My question is that,
how can I make the consumer to process one message in one session in c# to avoid timeout and repeating processing the same message?

Thanks in advance.