How to apply rate limiting for consumer without any credential plugin

Hi Team,

How can I apply rate limiting to a consumer without any credentials plugins like key-auth or basic-auth?

I have created one consumer ABC and have applied 1 TPS rate limiting. As per the Kong Doc, I have to send a username or custom_id in a request so Kong will be able to identify the user, so I tried to send the username and custom_id in the request header, but the rate limit didn’t work.

Later, I applied the basic-auth plugin to that ABC consumer and sent the username and password in a request, and the rate limit worked as expected.

So can we use consumer rate limiting without any credential plugin?

Please let me know if I missed anything in the configuration.