lhotari opened a new pull request, #23846:
URL: https://github.com/apache/pulsar/pull/23846

   ### Motivation
   
   When using Pulsar with IPv6, it's necessary to set 
`-Djava.net.preferIPv4Stack=false` since Pulsar startup scripts set 
`-Djava.net.preferIPv4Stack=true`. Currently it's not possible to override the 
Pulsar default by passing `-Djava.net.preferIPv4Stack=false` in `OPTS` 
environment variable. This PR intends to make it possible.
   This PR is related to the issue #23843.
   
   ### Modifications
   
   Prepend the default value `-Djava.net.preferIPv4Stack=true` to `OPTS` 
instead of appending to it so that the setting in `OPTS` takes preference. The 
last setting in the argument line wins when setting system properties for Java 
processes.
   
   ### Documentation
   
   <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
   
   - [ ] `doc` <!-- Your PR contains doc changes. -->
   - [ ] `doc-required` <!-- Your PR changes impact docs and you will update 
later -->
   - [x] `doc-not-needed` <!-- Your PR changes do not impact docs -->
   - [ ] `doc-complete` <!-- Docs have been already added -->


-- 
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: commits-unsubscr...@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to