edgent-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dale LaBossiere (JIRA)" <j...@apache.org>
Subject [jira] [Created] (EDGENT-441) Adjust Kafka tests to tolerate slow consumer startup
Date Sun, 10 Dec 2017 17:50:00 GMT
Dale LaBossiere created EDGENT-441:

             Summary: Adjust Kafka tests to tolerate slow consumer startup
                 Key: EDGENT-441
                 URL: https://issues.apache.org/jira/browse/EDGENT-441
             Project: Edgent
          Issue Type: Test
            Reporter: Dale LaBossiere

As part of validating 1.2.0 I ran samples/connectors/kafka.

Manually running of the kafka tests didn't initially succeed due to consumer startup being
very slow (10sec?) this time on my Mac for some reason (running local zookeeper & kafka
Adjust both the test's PUB_DELAY_MSEC (15s) and SEC_TIMEOUT (40s) was required to make them

I'm pretty sure this has nothing to do with the connector/Edgent (but will check more).

The tests should be changed so as to tolerate this sort of condition if possible  e.g., instead
of using a fixed initial delay for publishing, there should be some "gate" that blocks tuple
publishing until the subscriber is connected.

This message was sent by Atlassian JIRA

View raw message