spring-boottracemicrometerunboundid-ldap-sdk

How to propagate micrometer traces to Ldap server using unboundId sdk?


Based on official spring boot documentation

Propagating Traces

To automatically propagate traces over the network, use the auto-configured RestTemplateBuilder, RestClient.Builder or WebClient.Builder to construct the client.

But nothing is mentioned about different communication channels. For example Kafka or Ldap.

In my case I would like to know how to propagate traces to unboundId ldap SDK.


Solution

  • Looks like there is no ready solution to easily achieve it.

    The only way to pass additional data using Ldap protocol is Ldap Control.

    So Ldap server should support custom control. If it is not - the only way to implement it.