Coder Social home page Coder Social logo

Comments (8)

ahmedulde avatar ahmedulde commented on August 16, 2024 2

java -jar json-data-generator-1.2.2-SNAPSHOT.jar | cat conf\exampleSimConfig.json

Above command works well. Moving to parent also worked. Is there any way to get metric out of generator on how get count or size of messages or rate of message.

from json-data-generator.

andrewserff avatar andrewserff commented on August 16, 2024

Did you change the exampleSimConfig.json? It looks to me like that file is invalid. You could post the file here if you need help fixing it.

from json-data-generator.

ahmedulde avatar ahmedulde commented on August 16, 2024

I am using the default file which i get after compiling the source and extracting tar

from json-data-generator.

hmajumdar avatar hmajumdar commented on August 16, 2024

I am getting the same error with the default file itself tried java -jar json-data-generator-1.0.0.jar exampleSimConfig.json and java -jar json-data-generator-1.2.2-SNAPSHOT.jar "conf/exampleSimConfig.json"

from json-data-generator.

andrewserff avatar andrewserff commented on August 16, 2024

@ahmedulde can you try removing conf from your command? So run:
java -jar json-data-generator-1.2.2-SNAPSHOT.jar exampleSimConfig.json

This is working for me. We should be throwing a FileNotFoundException if we can't load it instead of what is happening right now.

@hmajumdar I'm not sure why yours wouldn't work unless it's because you have json-data-generator-1.0.0.jar instead of 1.2.2-SNAPSHOT (or what ever version you are running. Can you double check it doesn't work like above?

from json-data-generator.

hmajumdar avatar hmajumdar commented on August 16, 2024

@andrewserff I copied simConfig files into parent directly like this to make it work.

screen shot 2017-03-14 at 1 37 32 pm

from json-data-generator.

andrewserff avatar andrewserff commented on August 16, 2024

@ahmedulde If the logging is set to TRACE for the EventGenerator you should be seeing log messages like:
2017-03-14 14:14:24,892 TRACE n.a.d.j.g.EventGenerator [Thread-1] Generator( my-random ) generated 3.0 events/sec

The exampleSimConfig generate things very slowly so it doesn't get much per second. Hopefully that's what you're after.

from json-data-generator.

andrewserff avatar andrewserff commented on August 16, 2024

Closing based on lack of activity. If there is still an issue, please let me know.

from json-data-generator.

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.