Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception thrown with trigger at Start #1542

Closed
pcnfernando opened this issue Oct 9, 2019 · 0 comments · Fixed by #1543
Closed

Exception thrown with trigger at Start #1542

pcnfernando opened this issue Oct 9, 2019 · 0 comments · Fixed by #1543

Comments

@pcnfernando
Copy link
Contributor

Description:
When a Siddhi app which has a trigger defined at startup is started the below exception is thrown.

[2019-10-09_17-34-43_175] ERROR {io.siddhi.core.stream.output.sink.Sink} - Error on 'StartupTrigger'. Dropping event at Sink 'log' at 'logStream' as its still trying to reconnect!, events dropped 'Event{timestamp=1570622683174, data=[startup triggered], isExpired=false}' (Encoded)

Affected Siddhi Version:
v5.1.7

Steps to reproduce:
Start the below Siddhi App

@App:name("StartupTrigger")

@App:description("Generate an event at SiddhiApp startup.")

@sink(type='log')
define stream logStream (eventABC string);

define trigger InitTrigger at 'start';

-- Once the app has started, insert an event into LogStream as 'startup triggered'
from InitTrigger
select 'startup triggered' as eventABC
insert into logStream;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant