Skip to content

Not all events actually sent when the client is disconnected #13

@qdamian

Description

@qdamian

Hi,

Using dxlclient==3.1.0.586, we have a script that sends a batch of events (~1000) and then terminates, but sometimes the last few events are not sent or lost. Neither the brokers nor the network are under heavy load so we wouldn't expect any messages to be lost. We are using the DxlClient's send_event method and its context manager to handle the disconnection.

The issue can be reproduced by splitting the sender and listener from https://github.com/opendxl/opendxl-client-python/blob/master/examples/basic/event_example.py into separate scripts. Please help.

Damian

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions