Fork me on GitHub
#onyx
<
2017-08-13
>
lmergen10:08:11

hmm, just thinking out loud — are there any reasons why using onyx-local-rt for testing purposes would be a bad idea ?

lmergen10:08:38

i’m thinking more on the level of unit tests here, of course it is not a replacement for end to end testing

lmergen11:08:48

but it appears much more suitable for e.g. generative testing

lucasbradstreet18:08:21

@lmergen it’s a a pretty decent idea, especially for generative testing.

lucasbradstreet19:08:09

@lmergen until a few days ago, I wouldn’t have recommended it because there were too many differences with respect to windowing, but I’ve cljc’d more of Onyx and dropped a lot of code from local-rt, so things are far more in sync and correct now.

michaeldrogalis19:08:09

Yeah, the most recent round of changes has made local-rt’s code base extremely bare bones.

lmergen19:08:14

that's good to know -- i think i will give this a whirl shortly

lucasbradstreet19:08:59

Hmm, I should let you know what snapshots to use

lucasbradstreet19:08:14

I’ll try to cut a new onyx / local-rt release today too.

lmergen19:08:34

no rush, i won't be working on this before next week

lucasbradstreet19:08:45

Ah, cool. No worries then 🙂

theikkila20:08:21

do you know if it is possible to use session-windows together with some kind of time-barriers from the stream

theikkila20:08:03

my usecase is that I would like to do first sessionization with session-window and trigger and then use emit to emit it back to stream so I could process it more

lucasbradstreet20:08:37

This is currently more awkward than it should be because we don't have the ability to inject watermarks from the input source. This is something that we will need to add in the near future

lucasbradstreet20:08:36

Currently you can work around it by watermarking via time contained in the segments, but you will have trouble when there are no segments flowing through

theikkila20:08:44

yeah i guess thats actually how it works currently, but the thing is that there will be “open” sessions if there is no more segments for some session

lucasbradstreet20:08:12

Yeah. Exactly why you need non segment watermarks as part of the stream.

michaeldrogalis22:08:46

@theikkila Yeah, what @lucasbradstreet said. I think we’re going to add watermarks in very soon as it’s something we need to develop another feature.