# Conditional Routing RFC

**URL:** <https://forum.opensearch.org/t/conditional-routing-rfc/8581>\
**Category:** Data Prepper\
**Tags:** discuss\
**Created:** [February 9, 2022, 4:05pm UTC](https://forum.opensearch.org/t/conditional-routing-rfc/8581 "2022-02-09T16:05:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dlv](https://avatars.discourse-cdn.com/v4/letter/d/5f9b8f/32.png) [@dlv](https://forum.opensearch.org/u/dlv)\
**Post date:** [February 9, 2022, 4:05pm UTC](https://forum.opensearch.org/t/conditional-routing-rfc/8581/1 "2022-02-09T16:05:12Z")

</div>

Yesterday I posted an RFC for supporting conditional routing within Data Prepper. The goal of this feature is to allow pipeline authors to control the sinks and processors events to which Data Prepper routes events. I’m very interested in your feedback.

[https://github.com/opensearch-project/data-prepper/issues/1007](https://github.com/opensearch-project/data-prepper/issues/1007)

Data Prepper currently follows a pipeline model and not a programming model. This RFC provides our solution to routing rather than using if/then/else-if conditional branching. I’d like to know if there are any use-cases that you need which are not supported here.

---

<div class="post-metadata">

**Author:** ![kris](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/kris/32/2208_2.png) [@kris](https://forum.opensearch.org/u/kris)\
**Post date:** [February 7, 2023, 6:30pm UTC](https://forum.opensearch.org/t/conditional-routing-rfc/8581/2 "2023-02-07T18:30:57Z")

</div>


