Skip to content

PNLP-7328: map reply_topic_key to kafka_replyTopic before kafka request #130

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Aug 3, 2023

Conversation

SyrexMinus
Copy link
Contributor

@SyrexMinus SyrexMinus commented Jul 29, 2023

Новый функционал: задание header'а kafka_replyTopic через указание reply_topic_key в Command.request_data (для акшнов, отнаследованных от CommandAction, этому соответствует итем request_data) в соответствие с маппингом из конфига перед отправкой запроса. Маппинг задаётся в конфиге так: в конфиге template_config.yml в поле reply_topic указывается набор ключ-значений в формате reply_topic_key: kafka_replyTopic. reply_topic_key имеет приоритет над kafka_replyTopic, то есть в случае наличия обоих полей выберется reply_topic_key.

@SyrexMinus SyrexMinus added the wip work in progress label Jul 31, 2023
@SyrexMinus
Copy link
Contributor Author

ключевое изменение в SmartKitKafkaRequest

@SyrexMinus SyrexMinus added Review needed and removed wip work in progress labels Aug 3, 2023
@SyrexMinus SyrexMinus merged commit 3b71016 into main Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant