Uploaded image for project: 'Hawkular Metrics'
  1. Hawkular Metrics
  2. HWKMETRICS-315

Bus integration: events randomly or never posted

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 0.9.0
    • Component/s: None
    • Labels:
      None

      Description

      While integrating hawkular-metrics-component into Hawkular server, I noticed events where randomly or simply never sent to the bus.

      I figured it was due to the use of #observeOn with the Wildfly managed executor service.

      I'm not sure what's wrong, but I found that annotating methods AvailDataPublisher#publish and MetricDataPublisher#publish with @Asynchronous works: the metrics are reliably published and the JMS calls happen in a dedicated thread (don't block the Rx computation threads).

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tsegismont Thomas Segismont
                  Reporter:
                  tsegismont Thomas Segismont
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: