Creating existing processors in Java for pipeline injection

We are currently looking for a good way to create and set processors in our java app.

Is there a JAVA API we are missing for this? Right now we are building the pipeline parameters using XContentBuilder. One suggestion we have is just make implementation of the Processor interface for each processor we want included in the pipeline. E.g. RemoveProcessor. Given that ES ships with those, before we start writing our own implementations we thought we'd ask if there already is a solution for this, besides XContent.

I did go through

but we don't actually need custom processors, just checking whether the XContent is the only good way to inject existing ones.

Thank you.

The classes Elasticsearch ships with are the concrete implementations, not serialized representations.

So you have to use the xcontent builder indeed in order to create pipelines currently.

1 Like

Thank you.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.