(self, service_url, topic, token, consumer)
| 5 | class Consumer: |
| 6 | |
| 7 | def __init__(self, service_url, topic, token, consumer): |
| 8 | self.client = pulsar.Client(service_url, authentication=pulsar.AuthenticationToken(token)) |
| 9 | self.consumer = self.client.subscribe(topic, consumer) |
| 10 | |
| 11 | def consume(self): |
| 12 | waitingForMsg = True |
nothing calls this directly
no outgoing calls
no test coverage detected