Google pubsub component broken in 3.2.0 ?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Google pubsub component broken in 3.2.0 ?

Jean-Pierre Matsumoto
Hi all

Previously I used Camel 3.0.0 for my mixture of google-pubsub and
google-mail routes. I've tried to update to Camel 3.2.0 but pubsub part is
not working, with no error message.

I've traced with debugger. I think the issue is with bad version of Guava
library. Anyway, here is a simple route to reproduce:

@Component
public class SimplePubsubRouteBuilder extends RouteBuilder {
  @Override
  public void configure() throws Exception {
    from("google-pubsub://project-id:subs-name")
      .to("log:myLog?showHeaders=true");
  }
}

Result with Camel 3.2.0: nothing happens, no errors even with DEBUG log
level.

Result with Camel 3.1.0: error 404 as expected since Pubsub subscription
path is invalid.

My platform: macOS 10.15.4 with openjdk 11.0.6 2020-01-14 (but I've been
able to reproduce on Ubuntu 16, same jdk).

I've tried to fix the issue myself with no success.

Let me know if I can help more.

Thanks
Jean-Pierre
Reply | Threaded
Open this post in threaded view
|

Re: Google pubsub component broken in 3.2.0 ?

Omar Al-Safi
Hi Jean,

I recall there was major work being done on this component and indeed, it
looks to me like a bug with the associated work that was being done. Can
you please file this issue as bug report under
https://issues.apache.org/jira/browse/CAMEL in order to be investigated
further?

Regards,
Omar

On Thu, May 14, 2020 at 12:58 PM Jean-Pierre Matsumoto <[hidden email]>
wrote:

> Hi all
>
> Previously I used Camel 3.0.0 for my mixture of google-pubsub and
> google-mail routes. I've tried to update to Camel 3.2.0 but pubsub part is
> not working, with no error message.
>
> I've traced with debugger. I think the issue is with bad version of Guava
> library. Anyway, here is a simple route to reproduce:
>
> @Component
> public class SimplePubsubRouteBuilder extends RouteBuilder {
>   @Override
>   public void configure() throws Exception {
>     from("google-pubsub://project-id:subs-name")
>       .to("log:myLog?showHeaders=true");
>   }
> }
>
> Result with Camel 3.2.0: nothing happens, no errors even with DEBUG log
> level.
>
> Result with Camel 3.1.0: error 404 as expected since Pubsub subscription
> path is invalid.
>
> My platform: macOS 10.15.4 with openjdk 11.0.6 2020-01-14 (but I've been
> able to reproduce on Ubuntu 16, same jdk).
>
> I've tried to fix the issue myself with no success.
>
> Let me know if I can help more.
>
> Thanks
> Jean-Pierre
>
Reply | Threaded
Open this post in threaded view
|

Re: Google pubsub component broken in 3.2.0 ?

Jean-Pierre Matsumoto
In reply to this post by Jean-Pierre Matsumoto
Hi Omar

Sure, I have created CAMEL-15064.

HTH
JeanPierre

>