Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
ConsumerConfigurationInterface.php
Go to the documentation of this file.
1 <?php
7 
12 {
13  const CONSUMER_NAME = "consumer_name";
14 
15  const QUEUE_NAME = "queue_name";
16  const MAX_MESSAGES = "max_messages";
17  const SCHEMA_TYPE = "schema_type";
18  const TOPICS = 'topics';
19  const TOPIC_TYPE = 'consumer_type';
20  const TOPIC_HANDLERS = 'handlers';
21 
22  const TYPE_SYNC = 'sync';
23  const TYPE_ASYNC = 'async';
24  const INSTANCE_TYPE_BATCH = 'batch';
25  const INSTANCE_TYPE_SINGULAR = 'singular';
26 
32  public function getConsumerName();
33 
39  public function getQueueName();
40 
49  public function getType();
50 
56  public function getMaxMessages();
57 
65  public function getHandlers($topicName);
66 
72  public function getTopicNames();
73 
78  public function getMessageSchemaType($topicName);
79 
83  public function getQueue();
84 }