Problem with the installation of librkafka

When I run this command in ubuntu 18 jetson nano
$ git reset --hard 7101c2310341ab3f4675fc565f64f0967e135a6a
I face an issue like it is failed while checking pkg-config.
After that I have tried to install librkafka using sudo-get install librkafka1,it gets installed .
But when I tried to give
it gives the same error

You will need to provide a way to reproduce this. Your git command requires a repository before it can be run…looks like you’re already set up in some way prior to running the git command. I know nothing about librkafka, and don’t see it under any of the usual apt repositories, so any information on finding what is needed to download that git repo version would be useful.