Comments (4)
Check under DeploymentOptions there is a StatementNameRuntimeOption that sets the statement name
from esper.
Thanks
It looks that providing something like
public static class StatementNameRuntimeOptionImpl implements StatementNameRuntimeOption {
@Override
public String getStatementName(final StatementNameRuntimeContext statementNameRuntimeContext) {
return "stmt-" + statementNameRuntimeContext.getStatementId();
}
}
gives similar results to esper pre 8.
Then looking at statementId that is incremented for every deployment, does it mean that statementName being mostly stmt-0 (for not named statements) is a bug ?
For me it looks that way.
To have it behaves automatically with having option of using @name() we need to use string comparison of some kind with "guessed" automatic name like "stmt-0" doesn't seems perfect. It also look that it may behaves slight different when statement is partitioned.
from esper.
In Esper 8 the combination of deployment id and statement name identifies each statement in a runtime
from esper.
What a significance statementId does have then ?
Source of my confusion is that the statementId is disconnected from default statementName.
Custom naming works ok, but it's quiet strange how it is working internally. First @name or default name is applied and then as an option it can be overridden. The problem here is StatementNameRuntimeContext hasn't information what kind of name was provided to the statement (default or from @name).
from esper.
Related Issues (20)
- Possible memory leak in com.espertech.esper.runtime.internal.filtersvcimpl.FilterServiceLockCoarse HOT 1
- why match_recognize reports an error EPStatementException?
- Esper 8.8.0 statement conversion to statement model and back to statement bug
- License is confusing HOT 2
- Support for full set of operators in left outer join on clause
- #unique not summing up correctly based on order of events HOT 1
- Write lock when sendEventBean to Esper HOT 2
- Different #unique summarization based on order of events HOT 2
- Pattern to match with the start of a partition
- OSGi + Java 11: Missing Constraints for apache xerces internal packages HOT 1
- failed to compile chain invocation of mapped event property HOT 1
- Performance Issues with Esper v8 - Class Loader/Memory Leaking HOT 1
- No output from statement with 17+ regexp/like clauses
- exclude_plan doesn't work for queries with left joins
- Esper 8.8.0/8.9.0 not compatible with hibernate 6.*.* HOT 6
- Cannot invoke "...AggregationRowRemovedCallback.removedAggregationGroupKey(Object)" because "this.removedCallback" is null HOT 1
- How to configure EPL statements to a separate file with .epl extension HOT 1
- Regexp and like don`t work for first event in context
- Pluggable rendering system
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esper.