The KafkaAdapters project is part of the GSF solution, and it has dependencies on some of the other GSF projects. If all you want is to get KafkaAdapters into Visual Studio so you can modify and build it, then you can just download the GSF source code, extract the files, and then open the solution file (
GridSolutionsFramework.sln). If you want to use KafkaAdapters in your project, you can simply build or download the KafkaAdapters.dll file and reference that assembly in your Visual Studio project.
I don't have a code example because the KafkaAdapters project is written as a plugin to the openPDC architecture. So the typical process to set one up requires an installation of openPDC and then configuration of your input device(s) as well as the KafkaAdapters.TimeSeriesProducer output adapter. If you would like to implement your own Kafka interface using the Device to Data guide as a starting point, the KafkaAdapters.TimeSeriesProducer class is the closest you're going to get to a code example.