You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "lhotari (via GitHub)" <gi...@apache.org> on 2024/08/22 07:05:42 UTC
Re: [D] How to enable server publish time on messages? [pulsar]
GitHub user lhotari added a comment to the discussion: How to enable server publish time on messages?
it requires adding this config to `conf/broker.conf`:
```
brokerEntryMetadataInterceptors=org.apache.pulsar.common.intercept.AppendBrokerTimestampMetadataInterceptor
exposingBrokerEntryMetadataToClientEnabled=true
```
For Apache Pulsar Helm chart k8s deployments, this can be actived this way in values.yaml:
```yaml
broker:
configData:
PULSAR_PREFIX_brokerEntryMetadataInterceptors: org.apache.pulsar.common.intercept.AppendBrokerTimestampMetadataInterceptor
PULSAR_PREFIX_exposingBrokerEntryMetadataToClientEnabled: "true"
```
GitHub link: https://github.com/apache/pulsar/discussions/23073#discussioncomment-10415725
----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org