The recently released Data Prepper 1.4.0 introduces support for writing documents to OpenSearch 2.0 clusters. It continues to support OpenSearch 1.x versions and the same OpenDistro versions as before.
I encourage all Data Prepper users to update to 1.4.0. If you plan on upgrading your OpenSearch clusters to 2.0.0, which should release this month, you will need it.