Dear Kafka devs,

The Kafka's 3.8.1 release note mentioned 
[KAFKA-17227<https://issues.apache.org/jira/browse/KAFKA-17227>] - Apache Kafka 
3.8.0 /tmp exec permission where it brings me  to 
https://kafka.apache.org/documentation/#upgrade_381_notable whose content is 
specifically for the kafka cluster(server). But this is not precise enough for 
the issue.

Below are my summarized missing points that are not covered by 
https://kafka.apache.org/documentation/#upgrade_381_notable based on our tests.
[http://apache-kafka.org/images/apache-kafka.png]<https://kafka.apache.org/documentation/#upgrade_381_notable>
Apache Kafka<https://kafka.apache.org/documentation/#upgrade_381_notable>
Apache Kafka: A Distributed Streaming Platform.
kafka.apache.org
When "enable.metrics.push" is set to true for the kafka client and there is 
also the client metric subscription configured.

  1.
If there is no additional setting configured for the kafka client, then 
/tmp(controlled by System property:"java.io.tmpdir") folder must have exec 
permission, otherwise ZstdOutputStreamNoFinalizer will fail the initialization 
and may break the relevent thread resulting in kafka client not functioning 
correct.(I've tested this with /tmp without exec permission)
  2.
Client needs to set System property:"ZstdTempFolder" to specify a folder with 
exec permission, otherwise ZstdOutputStreamNoFinalizer will also fail to 
initialize and may break client function(I haven't tested this but based on 
reading code for com.github.luben.zstd.util.Native).

Above 1. is the most common scenario that Kaka client users will work with.  
This is not a corner case and /tmp is also a commonly used directory, making it 
a notable change for Kafka client using client metric collection feature.


I wonder if my above finding is correct? If it is the case, why this 
information is not accurately stated in the release note nor notable change 
note consider its notable impact? Is it possible to add it somewhere or patch 
the release note and notable change note?

Looking forward to your help for the answer!


Thanks,
Benson

Reply via email to