birschick-bq commented on PR #3218: URL: https://github.com/apache/arrow-adbc/pull/3218#issuecomment-3137916645
> @birschick-bq So if I understand correctly, for the first approach: > > 1. Each connection generates a GUID > 2. Add the GUID to the ActivitySource tags > 3. Each connection creates a Listener and passes their own GUID to it > 4. Each listener checks for the GUID in the activitySource tags to listen to That is correct. This filters out any messages not generated by your connection. And ShouldListenTo is not called for every Activity, but two times for each ActivitySource (==TracingConnection). The ActivityListener can be instantiated inside the Connection and be disposed when the connection disposes. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org