nulogy_message_bus_consumer 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. checksums.yaml +4 -4
  2. data/lib/nulogy_message_bus_consumer/version.rb +1 -1
  3. data/spec/dummy/Rakefile +6 -0
  4. data/spec/dummy/app/assets/config/manifest.js +3 -0
  5. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  6. data/spec/dummy/app/channels/application_cable/channel.rb +4 -0
  7. data/spec/dummy/app/channels/application_cable/connection.rb +4 -0
  8. data/spec/dummy/app/controllers/application_controller.rb +2 -0
  9. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  10. data/spec/dummy/app/javascript/packs/application.js +15 -0
  11. data/spec/dummy/app/jobs/application_job.rb +7 -0
  12. data/spec/dummy/app/mailers/application_mailer.rb +4 -0
  13. data/spec/dummy/app/models/application_record.rb +3 -0
  14. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  15. data/spec/dummy/app/views/layouts/mailer.html.erb +13 -0
  16. data/spec/dummy/app/views/layouts/mailer.text.erb +1 -0
  17. data/spec/dummy/bin/rails +4 -0
  18. data/spec/dummy/bin/rake +4 -0
  19. data/spec/dummy/bin/setup +33 -0
  20. data/spec/dummy/config.ru +5 -0
  21. data/spec/dummy/config/application.rb +29 -0
  22. data/spec/dummy/config/boot.rb +5 -0
  23. data/spec/dummy/config/cable.yml +10 -0
  24. data/spec/dummy/config/credentials/message-bus-us-east-1.key +1 -0
  25. data/spec/dummy/config/credentials/message-bus-us-east-1.yml.enc +1 -0
  26. data/spec/dummy/config/database.yml +27 -0
  27. data/spec/dummy/config/environment.rb +5 -0
  28. data/spec/dummy/config/environments/development.rb +62 -0
  29. data/spec/dummy/config/environments/production.rb +112 -0
  30. data/spec/dummy/config/environments/test.rb +49 -0
  31. data/spec/dummy/config/initializers/application_controller_renderer.rb +8 -0
  32. data/spec/dummy/config/initializers/assets.rb +12 -0
  33. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  34. data/spec/dummy/config/initializers/content_security_policy.rb +28 -0
  35. data/spec/dummy/config/initializers/cookies_serializer.rb +5 -0
  36. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  37. data/spec/dummy/config/initializers/inflections.rb +16 -0
  38. data/spec/dummy/config/initializers/message_bus_consumer.rb +5 -0
  39. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  40. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  41. data/spec/dummy/config/locales/en.yml +33 -0
  42. data/spec/dummy/config/puma.rb +36 -0
  43. data/spec/dummy/config/routes.rb +3 -0
  44. data/spec/dummy/config/spring.rb +6 -0
  45. data/spec/dummy/config/storage.yml +34 -0
  46. data/spec/dummy/db/schema.rb +21 -0
  47. data/spec/dummy/log/development.log +4 -0
  48. data/spec/dummy/log/production.log +18 -0
  49. data/spec/dummy/log/test.log +6083 -0
  50. data/spec/dummy/public/404.html +67 -0
  51. data/spec/dummy/public/422.html +67 -0
  52. data/spec/dummy/public/500.html +66 -0
  53. data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
  54. data/spec/dummy/public/apple-touch-icon.png +0 -0
  55. data/spec/dummy/public/favicon.ico +0 -0
  56. data/spec/dummy/tmp/development_secret.txt +1 -0
  57. data/spec/integration/nulogy_message_bus_consumer/auditor_spec.rb +59 -0
  58. data/spec/integration/nulogy_message_bus_consumer/kafka_utils_spec.rb +41 -0
  59. data/spec/integration/nulogy_message_bus_consumer/steps/commit_on_success_spec.rb +131 -0
  60. data/spec/integration/nulogy_message_bus_consumer/steps/connect_to_message_bus_spec.rb +54 -0
  61. data/spec/integration/nulogy_message_bus_consumer/steps/supervise_consumer_lag_spec.rb +54 -0
  62. data/spec/integration/test_topic_spec.rb +39 -0
  63. data/spec/spec_helper.rb +49 -0
  64. data/spec/support/kafka.rb +74 -0
  65. data/spec/support/middleware_tap.rb +12 -0
  66. data/spec/support/test_topic.rb +48 -0
  67. data/spec/unit/nulogy_message_bus_consumer/config_spec.rb +20 -0
  68. data/spec/unit/nulogy_message_bus_consumer/lag_tracker.rb +35 -0
  69. data/spec/unit/nulogy_message_bus_consumer/message_spec.rb +84 -0
  70. data/spec/unit/nulogy_message_bus_consumer/pipeline_spec.rb +49 -0
  71. data/spec/unit/nulogy_message_bus_consumer/steps/commit_on_success_spec.rb +58 -0
  72. data/spec/unit/nulogy_message_bus_consumer/steps/deduplicate_messages_spec.rb +56 -0
  73. data/spec/unit/nulogy_message_bus_consumer/steps/log_messages_spec.rb +70 -0
  74. data/spec/unit/nulogy_message_bus_consumer/steps/monitor_replication_lag/calculator_spec.rb +63 -0
  75. data/spec/unit/nulogy_message_bus_consumer/steps/stream_messages_spec.rb +35 -0
  76. data/spec/unit/nulogy_message_bus_consumer_spec.rb +30 -0
  77. metadata +159 -11

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the gem file manually.