# Propagate GRPC headers from client to an activity

**URL:** <https://community.temporal.io/t/propagate-grpc-headers-from-client-to-an-activity/11921>\
**Category:** Community Support\
**Tags:** java-sdk\
**Created:** [April 26, 2024, 5:36pm UTC](https://community.temporal.io/t/propagate-grpc-headers-from-client-to-an-activity/11921 "2024-04-26T17:36:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DmitryT](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/dmitryt/32/4857_2.png) [@DmitryT](https://community.temporal.io/u/DmitryT)\
**Post date:** [April 26, 2024, 5:36pm UTC](https://community.temporal.io/t/propagate-grpc-headers-from-client-to-an-activity/11921/1 "2024-04-26T17:36:35Z")

</div>

In one of my activities I need to provide headers when making a GRPC call. Client code that invokes workflow execution via SDK has necessary headers available. One option is to just modify my workflow and activity inputs and propagate these headers by hand. I wonder if there is another mechanism that I can use to achieve this ? I was reading about Interceptors and ContextPropagator but not clear if those are good alternatives.

---

<div class="post-metadata">

**Author:** ![maxim](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/maxim/32/8_2.png) [@maxim](https://community.temporal.io/u/maxim)\
**Post date:** [April 27, 2024, 11:27pm UTC](https://community.temporal.io/t/propagate-grpc-headers-from-client-to-an-activity/11921/2 "2024-04-27T23:27:24Z")

</div>

Yes, interceptors were created to support header propagation. OpenTracing Span Context propagation was [implemented](https://github.com/temporalio/sdk-java/tree/master/temporal-opentracing) through interceptors.
