-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Labels
lifecycle/staletype/enhancementThe enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messagesThe enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages
Description
Is your enhancement request related to a problem? Please describe.
On my Mac building the docker images is very slow, and the slowest part is during the build of the CXX client
[ 0%] Building CXX object lib/CMakeFiles/pulsarStatic.dir/AckGroupingTracker.cc.o
[ 0%] Building CXX object lib/CMakeFiles/pulsarStatic.dir/AckGroupingTrackerDisabled.cc.o
[ 0%] Building CXX object lib/CMakeFiles/pulsarStatic.dir/AckGroupingTrackerEnabled.cc.o
[ 3%] Building CXX object lib/CMakeFiles/pulsarStatic.dir/Authentication.cc.o
[ 3%] Building CXX object lib/CMakeFiles/pulsarStatic.dir/Backoff.cc.o
[ 3%] Building CXX object lib/CMakeFiles/pulsarStatic.dir/BatchAcknowledgementTracker.cc.o
[ 6%] Building CXX object lib/CMakeFiles/pulsarStatic.dir/BatchMessageContainer.cc.o
[ 6%] Building CXX object lib/CMakeFiles/pulsarStatic.dir/BatchMessageContain
....
I found that there would be some way to skip this part by using skipBuildCppClient,skipBuildCppClient
but if I enable those flags the build fails
the command is
cd docker
mvn clean install -Pdocker -pl pulsar
Describe the solution you'd like
To have a fast way to rebuild the images locally, in order to be quicker in debugging problems with integration tests
Additional context
I am on Docker Desktop on Mac, with a pretty good machine.
Probably the problem is due to how Docker Desktop deals with the disk
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
lifecycle/staletype/enhancementThe enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messagesThe enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages