TCP calls or transactions not coming to elastic APM

We have application which will read messages from kafka. Here it has transaction or calls with TCP not http. Transactions which are with TCP not coming to elastic APM. Could you please suggest what has to do ? Do we have any attribute to add and which helps to get transactions

Hi,

One of the key aspect of APM tools is that they instrument the application, not the network stack.

In the case of an application reading messages from Kafka, the instrumentation should capture transactions when reading messages (thus at application level), but maybe the APM agent you are using does not support this out of the box.

Can you elaborate a bit on the language/platform of your application and which kafka client is used ?