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

feat: MQTT producer #303

Merged
merged 4 commits into from
Sep 20, 2023
Merged

feat: MQTT producer #303

merged 4 commits into from
Sep 20, 2023

Conversation

paulswartz
Copy link
Member

@paulswartz paulswartz commented Sep 5, 2023

Summary of changes

Creates an MQTT producer, which subscribes to a topic(s) in a broker and parses the results as either GTFS-RT or GTFS-RT enhanced feeds.

Asana Ticket: Concentrate: MQTT producer

@paulswartz paulswartz changed the title Ps mqtt feat: MQTT producer Sep 5, 2023
@paulswartz paulswartz temporarily deployed to dev-green September 6, 2023 17:35 — with GitHub Actions Inactive
@paulswartz paulswartz temporarily deployed to dev-green September 6, 2023 17:44 — with GitHub Actions Inactive
@paulswartz paulswartz temporarily deployed to dev-green September 6, 2023 18:03 — with GitHub Actions Inactive
@paulswartz paulswartz temporarily deployed to dev-green September 7, 2023 17:35 — with GitHub Actions Inactive
@paulswartz paulswartz temporarily deployed to dev-green September 13, 2023 12:58 — with GitHub Actions Inactive
@paulswartz paulswartz temporarily deployed to dev-green September 13, 2023 13:07 — with GitHub Actions Inactive
@paulswartz paulswartz temporarily deployed to dev-green September 13, 2023 14:11 — with GitHub Actions Inactive
@paulswartz paulswartz temporarily deployed to dev-green September 13, 2023 19:04 — with GitHub Actions Inactive
Base automatically changed from ps-feed-update to master September 14, 2023 16:10
This will allow us to create a new MQTT producer for the mqtt:// scheme.
…rsions`

Looks like it was missed as a part of #280.
@paulswartz paulswartz requested review from a team and bfauble September 14, 2023 16:12
@paulswartz paulswartz marked this pull request as ready for review September 14, 2023 16:12
@mbta mbta deleted a comment from github-actions bot Sep 14, 2023
@mbta mbta deleted a comment from github-actions bot Sep 14, 2023
@mbta mbta deleted a comment from github-actions bot Sep 14, 2023
@mbta mbta deleted a comment from github-actions bot Sep 14, 2023
@mbta mbta deleted a comment from github-actions bot Sep 14, 2023
@mbta mbta deleted a comment from github-actions bot Sep 14, 2023
@mbta mbta deleted a comment from github-actions bot Sep 14, 2023
@mbta mbta deleted a comment from github-actions bot Sep 14, 2023
@fsaid90 fsaid90 requested review from bklebe and removed request for bfauble September 18, 2023 14:19
@mbta mbta deleted a comment from github-actions bot Sep 18, 2023
@github-actions
Copy link

Coverage of commit 087215f

Summary coverage rate:
  lines......: 94.2% (1272 of 1350 lines)
  functions..: 83.2% (416 of 500 functions)
  branches...: no data found

Files changed coverage rate:
                                                                    |Lines       |Functions  |Branches    
  Filename                                                          |Rate     Num|Rate    Num|Rate     Num
  ========================================================================================================
  lib/concentrate.ex                                                |84.0%     50|91.7%    12|    -      0
  lib/concentrate/encoder/vehicle_positions_enhanced.ex             | 100%     13| 100%     5|    -      0
  lib/concentrate/filter/alert/supervisor.ex                        | 100%      3| 100%     2|    -      0
  lib/concentrate/gtfs/supervisor.ex                                | 100%      3| 100%     2|    -      0
  lib/concentrate/producer/mqtt.ex                                  |89.3%     28|75.0%     8|    -      0
  lib/concentrate/producer/mqtt/handler.ex                          | 100%      3| 100%     3|    -      0
  lib/concentrate/supervisor/pipeline.ex                            |96.7%     30| 100%    12|    -      0

Download coverage report

@mbta mbta deleted a comment from github-actions bot Sep 18, 2023
@github-actions
Copy link

Coverage of commit 7f1c9af

Summary coverage rate:
  lines......: 94.2% (1272 of 1350 lines)
  functions..: 83.1% (413 of 497 functions)
  branches...: no data found

Files changed coverage rate:
                                                                    |Lines       |Functions  |Branches    
  Filename                                                          |Rate     Num|Rate    Num|Rate     Num
  ========================================================================================================
  lib/concentrate.ex                                                |84.0%     50|91.7%    12|    -      0
  lib/concentrate/encoder/vehicle_positions_enhanced.ex             | 100%     13| 100%     5|    -      0
  lib/concentrate/filter/alert/supervisor.ex                        | 100%      3| 100%     2|    -      0
  lib/concentrate/gtfs/supervisor.ex                                | 100%      3| 100%     2|    -      0
  lib/concentrate/producer/mqtt.ex                                  |90.3%     31|75.0%     8|    -      0
  lib/concentrate/supervisor/pipeline.ex                            |96.7%     30| 100%    12|    -      0

Download coverage report

@fsaid90 fsaid90 requested review from Whoops and removed request for bklebe September 20, 2023 14:19
@paulswartz paulswartz merged commit b4961e1 into master Sep 20, 2023
3 checks passed
@paulswartz paulswartz deleted the ps-mqtt branch September 20, 2023 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants