Граф коммитов

43 Коммитов

Автор SHA1 Сообщение Дата
Devis Lucato 769c2ef1fd Delete CNAME 2020-04-30 00:15:59 -07:00
Devis Lucato 2f5dfe88dc Create CNAME 2020-04-30 00:12:16 -07:00
Devis Lucato 551bc4fea2 Fix regression affecting Scala 2.11 2017-07-19 19:02:18 -07:00
Devis Lucato fcce36448f Updates to checkpointing logic and docs + upgrade deps (#29)
* Remove offset save parallelism. Offset write parallelism was causing storage exceptions due to contentions, and seems to be an optimization left over before the final merge of at-least-once processing.
* Upgrade internal dependencies
* Revisit checkpointing documentation
* Add contributing docs
* Add git configuration for cross-platform devs
* Rename offsetSink method to offsetSaveSink
2017-07-19 13:43:06 -07:00
Devis Lucato 7fe1c7e553 Add GitHub templates 2017-07-17 19:24:09 -07:00
Keith Nordstrom ce62a12aeb Add "at least once delivery" semantics (#23)
* Add new checkpointing feature to guarantee "at least once delivery". The new feature makes it easier to build a streaming graph that stores the stream position **after** processing an event. The old checkpoint behavior is still available. See the checkpointing documentation for more information.

Breaking changes:
* rename "SourceOptions.saveOffsets" to "SourceOptions.saveOffsetsOnPull"
2017-07-17 19:16:21 -07:00
Devis Lucato 5b170c5fd0 Redirect API docs index [skip CI] 2017-03-24 17:51:07 -07:00
Devis Lucato e1109ea396 Add menu to API docs [skip ci] 2017-03-24 17:46:03 -07:00
Devis Lucato 2f4f383435 Add API docs [skip ci] 2017-03-24 17:25:55 -07:00
Devis Lucato 8f54e3734c README: add notes about configuration injection 2017-03-23 12:36:04 -07:00
Devis Lucato 8f3e401090 0.9.0 Release
* While streaming events from Azure IoT Hub, expose runtime information, to allow monitoring how many events are left to stream (see `MessageFromDevice.runtimeInfo`).
* Change IoTHub public API to make it easier setting streaming options (see `SourceOptions` model) and to increase consistency across the board.
* Allow to stream from the position stored in the checkpointing storage, without enabling checkpointing.
* Support Cassandra authentication when using Cassandra to store offsets checkpoints (@knordstrom).
* Fix: when building pull-requests, disable tests requiring Travis CI secrets.
* Fix: rename `created` messages property to `received`.
* Allow injecting Configuration, e.g. to override settings stored in application.conf.
* Reduce cost of logging instrumentation.
* Added some syntactic sure for the list of partitions to stream and the list of offsets to start from.
* Use SBT modules and add scripts to make it easier running the included samples.
* Upgrade Scala from 2.12.0 to 2.12.1
* Upgrade internal dependencies, e.g. Akka and Azure SDKs.
2017-03-23 11:25:11 -07:00
Devis Lucato f87fac18aa Unit tests for source options API 2017-03-23 10:29:08 -07:00
Devis Lucato dff60b33f8 Remove non implemented methods from API 2017-03-23 10:20:23 -07:00
Devis Lucato f5d28f82c2 Add tests and finalize API naming 2017-03-23 00:35:44 -07:00
Devis Lucato 37be4a77a6 Simplify API and extend streaming options [BRK]
* Breaking changes to IoTHub API. Instead of having multiple methods with many permutations, use a SourceOptions object to capture the user intent. The object will be later extended to allow more options. Several methods removed. Deleted OffsetList and PartitionList classes.
* Allow to stream from the position stored in the checkpointing storage, without enabling checkpointing, i.e. the position stored remains unchanged. Allow to provide a fallback date if the offset is missing.
* Split the configuration class in subclasses, to better manage streaming, checkpointing, auth, etc. concerns.
* Added some syntactic sure for the list of partitions to stream.
* Add some more samples to the API usage.
* Improve Java support in the exposed API.
* Reduce cost of logging instrumentation.
2017-03-22 19:20:34 -07:00
Devis Lucato db59bad978 Refactor configuration and support runtime metrics feature flag 2017-03-21 13:06:10 -07:00
Devis Lucato 8d980c8b03 merge master 2017-03-21 00:08:18 -07:00
Devis Lucato 45410acc91 Breaking changes: add info about last message in the partition
Upgrade EventHub SDK to 0.13
TODO: optional info should be opt-in configurable
2017-03-20 18:30:07 -07:00
Devis Lucato 196582f139 Merge branch '0.9.0-dev' of github.com:Azure/toketi-iothubreact into 0.9.0-dev 2017-03-17 21:46:07 -07:00
Devis Lucato dad64ca1b7 Update link for datastax release notes 2017-03-15 12:43:50 -07:00
Devis Lucato 6508964026 Backports from 0.9 branch (scala 2.12.1 and code style)
* Upgrade Scala from 2.12.0 to 2.12.1
* Remove dead code in IoTHubPartition
* Code style
2017-03-14 19:27:35 -07:00
Devis Lucato bde156a83c Add build script 2017-03-14 18:14:41 -07:00
Keith Nordstrom fc2e73a514 Auth available for Cassandra checkpointing (#18)
* Add support for Cassandra authentication (checkpointing logic).
* Change default Cassandra checkpoints keyspace, to use `underscore` instead of `dash` character.
* Refactor checkpointing configuration to enable trait based dependency injection (make CP unit tests easier to write)
* Add new test dependency "mockito"
2017-03-14 18:12:47 -07:00
Devis Lucato 172690b039 Fix Slack notifications 2017-03-14 00:06:54 -07:00
Devis Lucato 0435b1bb41 Fixing Slack notifications... [2] 2017-03-13 20:46:09 -07:00
Devis Lucato 17d991a048 Fixing Slack notifications… 2017-03-13 20:37:10 -07:00
Devis Lucato 8ccc39a65a Update message specs, rename “MessageType” to “MessageSchema”, and “created” to “received”
The “created” message property is still present, but is meant to contain the time with the Device clock, as opposed to the time of the IoT Hub. The two timestamps can differ when a message is queued in the device, or when a device clock is not in sync with the time of IoT Hub.
2017-03-13 20:16:32 -07:00
Devis Lucato 2ce5cfe82a Upgrade dependencies 2017-03-13 17:43:13 -07:00
Devis Lucato d1695a73d8 Merge changes from master branch 2017-03-13 17:27:17 -07:00
Devis Lucato 7a837e0ce0 Disable integration tests for PRs 2017-03-10 16:11:05 -08:00
Devis Lucato d7d7768d5a Run demos from the root of the project 2017-03-10 15:42:06 -08:00
Devis Lucato 19f30e1208 Use sbt modules for the sample demos 2017-03-10 15:40:33 -08:00
Devis Lucato c181b729eb Move “Backends” folder content to “backends” (merging “backends” with “Backends”) 2017-03-10 14:49:38 -08:00
Devis Lucato ffef24abe6 Remove “Backends” folder (merging “backends” with “Backends”) 2017-03-10 14:48:41 -08:00
Devis Lucato 5fb61dba9d Merge 2017-03-07 15:57:18 -08:00
Devis Lucato 5519b1074d Upgrade dependencies and improve demos 2017-03-07 15:54:30 -08:00
Devis Lucato 1e2ed93d79 Upgrade EventHub SDK and Azure IoT SDK dependencies 2017-01-25 15:52:41 -08:00
Devis Lucato a7f5e8778d Fix demos and typos 2017-01-25 15:51:38 -08:00
Devis Lucato b97bf98d66 0.8.0 release: new features: C2D Sink, Stream Close, Scala 2.12, msg ID, etc.
New:
* Add sink to allow cloud-to-device messages
* Add API to stop the streaming
* Extend API to allow streaming a subset of partitions
* Add support for Scala 2.12 		
* Add device filter
* Add Message ID and Content Type to message

Improvements:
* Improve performance, reduce the number of threads used
* Add more demos
* Upgrade internal dependencies

Breaking changes:
* Change configuration schema
* Change message model schema
* Change environment variables names in the reference configuration
2017-01-06 18:03:56 -08:00
Devis Lucato 0b393e643e 0.7.0 release (#8)
* Add checkpointing feature, saving the current position of the streams, and automatically restart from the previous psition. The position can be saved either in Azure blobs or Cassandra.
* Support filtering the stream by message type (aka "model"), so that a device can send different kind of telemetry.
* Keep alive streams in absence of traffic
* Add device simulator app to simulate temperature and humidity sensors
* Add support for Scala 2.12.0-RC1
* Overall refactoring to reduce the amount of code on the client side
* Retry logic on storage operations
* Add Travis CI config
* Improve documentation
* Remove dependency on scala-arm
* Start move to json4s
* Change code style to 100 columns
* Add script to run the sample demos
* API changes, split IoTHub in two classes
2016-10-26 16:13:10 -07:00
Devis Lucato f3996eb816 Update README 2016-10-05 15:17:42 -05:00
Devis Lucato 84d5bd19a1 Update README
Add links to Maven Central, Bintray and Gitter
2016-10-05 15:15:13 -05:00
Devis Lucato b3379d2865 Initial release 2016-09-30 16:39:57 -07:00