Skip to content

Conversation

@romni
Copy link
Contributor

@romni romni commented Jan 16, 2018

adds an example implementation for sending Robot.Measurements data to InfluxDB using InfluxSubscriber

// parse the packets as Robot.Measurements
.map(datagramPacket ->
Arrays.copyOfRange(datagramPacket.getData(), 0, datagramPacket.getLength()))
.map(LambdaExceptions.rethrowFunction(Robot.Measurements::parseFrom))
Copy link
Member

Choose a reason for hiding this comment

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

What do you think about a separate Datagram->Robot.Measurement deducer?

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.

3 participants