Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mqtt Source #40

Merged
merged 1 commit into from
Aug 12, 2016
Merged

Mqtt Source #40

merged 1 commit into from
Aug 12, 2016

Conversation

2m
Copy link
Contributor

@2m 2m commented Aug 11, 2016

Mqtt Akka Stream Source implementation which uses Async Paho Client under the hood.

@shiv4nsh
Copy link
Contributor

@2m : I have resolved the issue on #43 It was just the Patience parameter. Please review it thanks :)

@2m 2m merged commit 1e03e7a into akka:master Aug 12, 2016
@2m 2m deleted the wip/mqtt-connector branch August 12, 2016 04:25
import scala.util._
import scala.language.implicitConversions

case class MqttSourceSettings(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

final for all case class

@patriknw
Copy link
Member

looking good


def connectionLost(cause: Throwable) =
onConnectionLost.invoke(cause)
})
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't there a race here, connect happens before setCallback or does the client not accept messages before callback is set?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you are spot on. This might be the cause of racy failures on Travis.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants