You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by "vogievetsky (via GitHub)" <gi...@apache.org> on 2024/05/24 04:37:53 UTC

[I] Make the RabbitMQ play nice with the sampler (allowing it to be part of the data loader flow) (druid)

vogievetsky opened a new issue, #16497:
URL: https://github.com/apache/druid/issues/16497

   Following the work in https://github.com/apache/druid/pull/14137 it would be great if the rabbitmq extension worked with the sampler. This would allow it to be used in the data loader flow.
   
   Right now doing a POST to
   
   `/druid/indexer/v1/sampler`
   
   payload
   
   ```
   {
      "type":"rabbit",
      "spec":{
         "type":"rabbit",
         "ioConfig":{
            "type":"rabbit",
            "uri":"localhost:5672",
            "stream":"my_queue",
            "inputFormat":{
               "type":"regex",
               "pattern":"([\\s\\S]*)",
               "listDelimiter":"56616469-6de2-9da4-efb8-8f416e6e6965",
               "columns":[
                  "raw"
               ]
            }
         },
         "dataSchema":{
            "dataSource":"sample",
            "timestampSpec":{
               "column":"!!!_no_such_column_!!!",
               "missingValue":"1970-01-01T00:00:00Z"
            },
            "dimensionsSpec":{
               
            },
            "granularitySpec":{
               "rollup":false
            }
         },
         "tuningConfig":{
            "type":"rabbit"
         }
      },
      "samplerConfig":{
         "numRows":500,
         "timeoutMs":15000
      }
   }
   ```
   
   results in 
   
   ```
   {
       "error": "Failed on call to `getDeclaredMethods()` on class `org.apache.druid.indexing.rabbitstream.RabbitStreamSamplerSpec`, problem: (java.lang.NoClassDefFoundError) com/rabbitmq/stream/MessageHandler\n at [Source: (org.eclipse.jetty.server.HttpInputOverHTTP); line: 1, column: 9]"
   }
   ```
   
   probably because `RabbitStreamSamplerSpec` is missing.
   
   I started a base bones implementation in the console here https://github.com/vogievetsky/druid/tree/console_rabbitmq but I need the sampler to work to move forwards.
   
   @jamiechapmanbrn would you be interested in filling this gap?
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


Re: [I] Make the RabbitMQ play nice with the sampler (allowing it to be part of the data loader flow) (druid)

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #16497: Make the RabbitMQ play nice with the sampler (allowing it to be part of the data loader flow)
URL: https://github.com/apache/druid/issues/16497


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


Re: [I] Make the RabbitMQ play nice with the sampler (allowing it to be part of the data loader flow) (druid)

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #16497:
URL: https://github.com/apache/druid/issues/16497#issuecomment-2691764704

   This issue has been marked as stale due to 280 days of inactivity.
   It will be closed in 4 weeks if no further activity occurs. If this issue is still
   relevant, please simply write any comment. Even if closed, you can still revive the
   issue at any time or discuss it on the dev@druid.apache.org list.
   Thank you for your contributions.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


Re: [I] Make the RabbitMQ play nice with the sampler (allowing it to be part of the data loader flow) (druid)

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #16497:
URL: https://github.com/apache/druid/issues/16497#issuecomment-2764308838

   This issue has been closed due to lack of activity. If you think that
   is incorrect, or the issue requires additional review, you can revive the issue at
   any time.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


Re: [I] Make the RabbitMQ play nice with the sampler (allowing it to be part of the data loader flow) (druid)

Posted by "jamiechapmanbrn (via GitHub)" <gi...@apache.org>.
jamiechapmanbrn commented on issue #16497:
URL: https://github.com/apache/druid/issues/16497#issuecomment-2130139250

   I'm interested, but I can't promise any kind of timeline at the moment. I can definitely help review a pr in the area though.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org