How to use ingest attachment plugin to index and store the pdfs in elastic search using spring boot

That's a duplicate of How to index and store pdf file in elastic search using spring boot?

Let's keep the conversation in one place unless it's a different question.

Thanks.