Add the "transport_options" parameter to the amqp1 and kafka drivers.
Change-Id: I5ca6ec2cb30b8d7f18e1770f80024957bc029bf3
This commit is contained in:
parent
b8c3a1ea59
commit
73c0c0071e
@ -299,7 +299,7 @@ class ProtonDriver(base.BaseDriver):
|
||||
def send(self, target, ctxt, message,
|
||||
wait_for_reply=False,
|
||||
timeout=None, call_monitor_timeout=None,
|
||||
retry=None):
|
||||
retry=None, transport_options=None):
|
||||
"""Send a message to the given target.
|
||||
|
||||
:param target: destination for message
|
||||
@ -322,6 +322,9 @@ class ProtonDriver(base.BaseDriver):
|
||||
0 means no retry
|
||||
N means N retries
|
||||
:type retry: int
|
||||
:param transport_options: transport-specific options to apply to the
|
||||
sending of the message (TBD)
|
||||
:type transport_options: dictionary
|
||||
"""
|
||||
request = marshal_request(message, ctxt, None,
|
||||
call_monitor_timeout)
|
||||
|
@ -399,7 +399,7 @@ class KafkaDriver(base.BaseDriver):
|
||||
LOG.info("Kafka messaging driver shutdown")
|
||||
|
||||
def send(self, target, ctxt, message, wait_for_reply=None, timeout=None,
|
||||
call_monitor_timeout=None, retry=None):
|
||||
call_monitor_timeout=None, retry=None, transport_options=None):
|
||||
raise NotImplementedError(
|
||||
'The RPC implementation for Kafka is not implemented')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user