You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@streampipes.apache.org by Philipp Zehnder <ph...@bytefabrik.ai> on 2023/01/02 14:18:12 UTC

[DISCUSS] siddhi processors do not work with the new antlr version

Hi all,

the Siddhi processors do not work with the new ANTLR version (4.11.1).

ANTLR is used as a dependency in both Siddhi (streampipes-wrapper-siddhi) and PLC4X (streampipes-extensions-all-jvm).
So far, we have been using ANTRL version 4.9 and everything worked fine. However, with the update of ANTRL to version 4.11.1, the siddhi components stopped working. The problem seems to be that ANTLR version 4.10, introduced braking changes (see [1]).

For now, we can stay on the old ANTLR version (see [2]), but as soon as we update PLC4X to the newest version (0.10.0) we will get the same problem, since this version also uses ANTLR (4.11.1).

Does anyone have an idea what we can do?
@Grainier do you know a workaround? Is it possible to update ANTLR in Siddhi?

Cheers,
Philipp

[1] https://github.com/antlr/antlr4/releases
[2] https://github.com/apache/streampipes/pull/1011

RE: [DISCUSS] siddhi processors do not work with the new antlr version

Posted by Dominik Riemer <ri...@fzi.de>.
Hi Grainier,
that's awesome, thanks a lot!

Cheers
Dominik


-----Original Message-----
From: Grainier Perera <gr...@apache.org> 
Sent: Tuesday, January 3, 2023 4:08 PM
To: dev@streampipes.apache.org
Subject: Re: [DISCUSS] siddhi processors do not work with the new antlr version

Quick update, We've released Siddhi v5.1.27 with ANTLR v4.11.1. However, it'll take some time to be synced with the public maven repository. Once available, I'll test it and send a PR to SP.

Regards,
Grainier Perera.


On Mon, 2 Jan 2023 at 22:03, Philipp Zehnder <ph...@bytefabrik.ai>
wrote:

> Cool, thanks a lot.
> Let me know if there is anything I can help you with.
>
> Cheers,
> Philipp
>
> Von: Grainier Perera <gr...@apache.org>
> Datum: Montag, 2. Januar 2023 um 16:17
> An: Philipp Zehnder <ph...@bytefabrik.ai>
> Cc: dev@streampipes.apache.org <de...@streampipes.apache.org>
> Betreff: Re: [DISCUSS] siddhi processors do not work with the new 
> antlr version Hi Philipp,
>
> I'll look into the possibility of getting the ANTLR version bumped to
> v4.11.1 in Siddhi.
>
> Regards,
> Grainier Perera.
>
>
> On Mon, 2 Jan 2023 at 19:48, Philipp Zehnder < 
> philipp.zehnder@bytefabrik.ai>
> wrote:
>
> > Hi all,
> >
> >
> >
> > the Siddhi processors do not work with the new ANTLR version (4.11.1).
> >
> >
> >
> > ANTLR is used as a dependency in both Siddhi 
> > (streampipes-wrapper-siddhi) and PLC4X (streampipes-extensions-all-jvm).
> >
> > So far, we have been using ANTRL version 4.9 and everything worked fine.
> > However, with the update of ANTRL to version 4.11.1, the siddhi
> components
> > stopped working. The problem seems to be that ANTLR version 4.10, 
> > introduced braking changes (see [1]).
> >
> >
> >
> > For now, we can stay on the old ANTLR version (see [2]), but as soon 
> > as
> we
> > update PLC4X to the newest version (0.10.0) we will get the same 
> > problem, since this version also uses ANTLR (4.11.1).
> >
> >
> >
> > Does anyone have an idea what we can do?
> >
> > @Grainier do you know a workaround? Is it possible to update ANTLR 
> > in Siddhi?
> >
> >
> >
> > Cheers,
> >
> > Philipp
> >
> >
> >
> > [1] https://github.com/antlr/antlr4/releases
> >
> > [2] https://github.com/apache/streampipes/pull/1011
> >
>

Re: [DISCUSS] siddhi processors do not work with the new antlr version

Posted by Grainier Perera <gr...@apache.org>.
Quick update, We've released Siddhi v5.1.27 with ANTLR v4.11.1. However,
it'll take some time to be synced with the public maven repository. Once
available, I'll test it and send a PR to SP.

Regards,
Grainier Perera.


On Mon, 2 Jan 2023 at 22:03, Philipp Zehnder <ph...@bytefabrik.ai>
wrote:

> Cool, thanks a lot.
> Let me know if there is anything I can help you with.
>
> Cheers,
> Philipp
>
> Von: Grainier Perera <gr...@apache.org>
> Datum: Montag, 2. Januar 2023 um 16:17
> An: Philipp Zehnder <ph...@bytefabrik.ai>
> Cc: dev@streampipes.apache.org <de...@streampipes.apache.org>
> Betreff: Re: [DISCUSS] siddhi processors do not work with the new antlr
> version
> Hi Philipp,
>
> I'll look into the possibility of getting the ANTLR version bumped to
> v4.11.1 in Siddhi.
>
> Regards,
> Grainier Perera.
>
>
> On Mon, 2 Jan 2023 at 19:48, Philipp Zehnder <
> philipp.zehnder@bytefabrik.ai>
> wrote:
>
> > Hi all,
> >
> >
> >
> > the Siddhi processors do not work with the new ANTLR version (4.11.1).
> >
> >
> >
> > ANTLR is used as a dependency in both Siddhi (streampipes-wrapper-siddhi)
> > and PLC4X (streampipes-extensions-all-jvm).
> >
> > So far, we have been using ANTRL version 4.9 and everything worked fine.
> > However, with the update of ANTRL to version 4.11.1, the siddhi
> components
> > stopped working. The problem seems to be that ANTLR version 4.10,
> > introduced braking changes (see [1]).
> >
> >
> >
> > For now, we can stay on the old ANTLR version (see [2]), but as soon as
> we
> > update PLC4X to the newest version (0.10.0) we will get the same problem,
> > since this version also uses ANTLR (4.11.1).
> >
> >
> >
> > Does anyone have an idea what we can do?
> >
> > @Grainier do you know a workaround? Is it possible to update ANTLR in
> > Siddhi?
> >
> >
> >
> > Cheers,
> >
> > Philipp
> >
> >
> >
> > [1] https://github.com/antlr/antlr4/releases
> >
> > [2] https://github.com/apache/streampipes/pull/1011
> >
>

AW: [DISCUSS] siddhi processors do not work with the new antlr version

Posted by Philipp Zehnder <ph...@bytefabrik.ai>.
Cool, thanks a lot.
Let me know if there is anything I can help you with.

Cheers,
Philipp

Von: Grainier Perera <gr...@apache.org>
Datum: Montag, 2. Januar 2023 um 16:17
An: Philipp Zehnder <ph...@bytefabrik.ai>
Cc: dev@streampipes.apache.org <de...@streampipes.apache.org>
Betreff: Re: [DISCUSS] siddhi processors do not work with the new antlr version
Hi Philipp,

I'll look into the possibility of getting the ANTLR version bumped to
v4.11.1 in Siddhi.

Regards,
Grainier Perera.


On Mon, 2 Jan 2023 at 19:48, Philipp Zehnder <ph...@bytefabrik.ai>
wrote:

> Hi all,
>
>
>
> the Siddhi processors do not work with the new ANTLR version (4.11.1).
>
>
>
> ANTLR is used as a dependency in both Siddhi (streampipes-wrapper-siddhi)
> and PLC4X (streampipes-extensions-all-jvm).
>
> So far, we have been using ANTRL version 4.9 and everything worked fine.
> However, with the update of ANTRL to version 4.11.1, the siddhi components
> stopped working. The problem seems to be that ANTLR version 4.10,
> introduced braking changes (see [1]).
>
>
>
> For now, we can stay on the old ANTLR version (see [2]), but as soon as we
> update PLC4X to the newest version (0.10.0) we will get the same problem,
> since this version also uses ANTLR (4.11.1).
>
>
>
> Does anyone have an idea what we can do?
>
> @Grainier do you know a workaround? Is it possible to update ANTLR in
> Siddhi?
>
>
>
> Cheers,
>
> Philipp
>
>
>
> [1] https://github.com/antlr/antlr4/releases
>
> [2] https://github.com/apache/streampipes/pull/1011
>

Re: [DISCUSS] siddhi processors do not work with the new antlr version

Posted by Grainier Perera <gr...@apache.org>.
Hi Philipp,

I'll look into the possibility of getting the ANTLR version bumped to
v4.11.1 in Siddhi.

Regards,
Grainier Perera.


On Mon, 2 Jan 2023 at 19:48, Philipp Zehnder <ph...@bytefabrik.ai>
wrote:

> Hi all,
>
>
>
> the Siddhi processors do not work with the new ANTLR version (4.11.1).
>
>
>
> ANTLR is used as a dependency in both Siddhi (streampipes-wrapper-siddhi)
> and PLC4X (streampipes-extensions-all-jvm).
>
> So far, we have been using ANTRL version 4.9 and everything worked fine.
> However, with the update of ANTRL to version 4.11.1, the siddhi components
> stopped working. The problem seems to be that ANTLR version 4.10,
> introduced braking changes (see [1]).
>
>
>
> For now, we can stay on the old ANTLR version (see [2]), but as soon as we
> update PLC4X to the newest version (0.10.0) we will get the same problem,
> since this version also uses ANTLR (4.11.1).
>
>
>
> Does anyone have an idea what we can do?
>
> @Grainier do you know a workaround? Is it possible to update ANTLR in
> Siddhi?
>
>
>
> Cheers,
>
> Philipp
>
>
>
> [1] https://github.com/antlr/antlr4/releases
>
> [2] https://github.com/apache/streampipes/pull/1011
>