vendor request of taiqiyun [private]
Project description
tivendor
Usage
from tivendor import TiVendor
config = {
'TIADMIN_HOST': 'http://tiadmin.kong:8000',
'KAFKA_ENABLE': 'on',
'KAFKA_HOST': 'kafka-kafka.kafka:9092',
'KAFKA_TOPIC': 'supplier-request',
'DEFAULT_SERVICE_NAME': 'bqsblmatch',
'LOGGER_NAME': 'main',
}
vendor = TiVendor(config)
r = vendor.request('bqsblmatch-test', service_name='bqsblmatch', ti_request_headers={}, json={'name': 'Johnny',})
print(r.json())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tivendor-0.0.20.tar.gz
(3.6 kB
view hashes)