Module: EventDrivenClient::Constants
- Defined in:
- lib/event_driven_client/constants.rb
Constant Summary collapse
- RESTAURANTS_TOPIC =
Start: HH-Search service topics Topics for Kafka
"#{topic_prefix}.hh.search.restaurants".freeze
- RESTAURANTS_AVAILABILITY_TOPIC =
"#{topic_prefix}.hh.search.restaurants.availability".freeze
- RESTAURANTS_TAGS_TOPIC =
"#{topic_prefix}.hh.search.restaurants.tags".freeze
- RESTAURANT_TAGS_TOPIC =
"#{topic_prefix}.hh.search.restaurantTags".freeze
- RESTAURANT_TAG_GROUPS_TOPIC =
"#{topic_prefix}.hh.search.restaurantTagGroups".freeze
- RESTAURANTS_TAG_GROUPS_TOPIC =
"#{topic_prefix}.hh.search.restaurants.tagGroups".freeze
- PEGASUS_RESTAURANTS_TOPIC =
"#{topic_prefix}.hh.pegasus.restaurants".freeze
- PEGASUS_PACKAGES_TOPIC =
"#{topic_prefix}.hh.pegasus.packages".freeze
- INDEX_EVENT =
Event types
'index'.freeze
- CREATE_EVENT =
'create'.freeze
- UPDATE_EVENT =
'update'.freeze
- DELETE_EVENT =
'delete'.freeze
- DAYS_IN_ADVANCE_FOR_AVAILABILITY =
Constants
Figaro.env.DAYS_IN_ADVANCE_FOR_SEARCH_PDT.to_i