GithubHelp home page GithubHelp logo

Comments (6)

lofifnc avatar lofifnc commented on August 17, 2024 1

I have been successful in recreating your problem and found a fix for it. #93 I'm going to release it and wait for your confirmation.

from flink-spector.

lofifnc avatar lofifnc commented on August 17, 2024

Any parallelism greater than one will remove determinism from the test run. Because the events are now processed in parallel by multiple instances of the operators. For example the order of the events is not predefined any more. If I interpret your test correctly no expectation is checking the order of events. It could be the case, that the logic you're testing depends on order, or that a certain instance of a function sees certain events.
Without more information it's hard to say what's the case. I hope this helps.

from flink-spector.

haf avatar haf commented on August 17, 2024

@lofifnc Thank you for your reply. I have nothing that requires a deterministic ordering, but I have a keyBy operator in there as well as a BoundedOutOfOrderTimestampExtractor. In fact, all of the code fits in this screengrab:

image

When setParallelism(2) is run, the matcher gets zero output events, but like you can see I have a println in a map, which gets run with parallelism enabled; and it outputs the correct value... I'm at a bit of a loss as to why the asserter would get zero values...

from flink-spector.

lofifnc avatar lofifnc commented on August 17, 2024

Version 0.9.3 has been released. Can you confirm this resolves your issue?

from flink-spector.

haf avatar haf commented on August 17, 2024

Thank you very much, I'm going to try it tomorrow morning first thing!

from flink-spector.

haf avatar haf commented on August 17, 2024

@lofifnc I didn't make it "first thing" but I've tried it now, and it works perfectly! Thank you @lofifnc

from flink-spector.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.