Keeping kafka Consumer alive (un-registered)

Can someone confirm whether Consumer get unregistered when there is no mode data to be consumed? If so, is there a way to keep the consumer registered even when it finishes it’s consumption. One way probably is to keep producing dummy data…is there a better way to achieve this?