-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Define a feature flag for enabling the shipper in the agent policy, defaulting to false. #217
Comments
@jlind23 When the plan is fixed we need to synchronize with the Fleet team to make this option available in fleet. |
@ph what about the timing? Should we sneak it into 8.3 as part of the shipper work? |
I believe so, note depending on the timing we could have it in the fleet UI in 8.4. |
@blakerouse May I assign this to you as you'll be working on it with Alex? |
@jlind23 I have assigned myself. Thanks! |
@fearful-symmetry & @cmacknz I was wondering where this flag would reside. the description says that it should be in the policy but in reality it's an Output object so perhaps it should be part of the output configuration (?) Also once feature flag is toggled, we should be exposing all the shipper related configurations UI. @jlind23 @jen-huang : perhaps we need a Fleet UI representation also? |
@nimarezainia yup, that's true. |
I am working on this now, so it would be great to have a resolution on where we want to put the key. I think in the output configuration is the best place as it doesn't require any UI work to be done (because we want to default and remove this key in the future anyway). I also think it provides flexibility to use the shipper for 1 output but maybe not for the other. So I was thinking we could do something like:
Super simple and short version is |
I agree, putting the flag in the output section makes sense. Instead of just using features:
shipper: true That way we have a place to put other feature flag style configuration in the future. |
@blakerouse just to close on this; there are some UI elements that are also Shipper specific and would only make sense when this flag is enabled. We decided that we will go ahead with the UI elements (things like memory queue size, bulk size, disk queue, compressions etc) but obviously what ever the user configures in them will not take effect unless this feature flag is set. We will document this. It avoid us having breaking changes when we GA and remove the need for this feature flag. Of course the Kafka output is also dependent on this. |
Being that the fact that a shipper is running will be clearly visible in the
So that means in the policy it would look like:
This makes it clear that you are configuring the shipper which will be a real component and status reported information inside of the Elastic Agent system. I think we can even go with if the |
Yes agreed, we had a meeting today and I think keeping a |
So still true that the UI for output configs will only take affect when this shipper flag is set? |
Correct. In the Fleet UI if you defined:
In the output YAML configuration the shipper would be used (only for inputs thats say they support the shipper as well). So let's say starting out that heartbeat doesn't support the shipper, it will still use its internal elasticsearch output and ignore the shipper flags. Then in the next release if it supports it, then it will just start using it. |
@cmacknz @pierrehilbert the PR was merged, shouldn't we close this issue then? |
Yes, complete! |
I should be able to turn on or off the possibility to run Elastic Agent with or without the new shipper.
Deliverables:
The text was updated successfully, but these errors were encountered: