Comments (8)
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.
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.
I am using the default file which i get after compiling the source and extracting tar
from json-data-generator.
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.
@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.
@andrewserff I copied simConfig files into parent directly like this to make it work.
from json-data-generator.
@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.
Closing based on lack of activity. If there is still an issue, please let me know.
from json-data-generator.
Related Issues (20)
- Generate JSON web server logs HOT 2
- Any plans to support SQS producer? HOT 1
- Need help to change the configuration file to limit the numbers of record i create
- Integer values within JSON array are not been maintained
- Can't generate array of double HOT 2
- support for Basic Auth in HttpPostLogger
- Writing multiple iterations to a single file HOT 3
- Error while using the repeat() function in my Workflow defenition HOT 6
- data generator to kafka
- Troubles running default config
- BUG: closing parenthesis ")" breaks parsing arguments HOT 1
- Upgrade jackson-databind to 2.9.10
- Upgrade mqtt library to v1.2.2
- Properties from prev step.
- Not able to generate JSON output from the schema HOT 1
- HTTP-POST error 404 HOT 1
- Main thread never terminates HOT 1
- How to generate multiple pieces of data in one json file instead of one line of data per file HOT 1
- Allow a DataSource to be used to provide values in generated items HOT 1
- Adding custom function
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 json-data-generator.