Source plugin : FakeStream [Spark]
FakeStream
is mainly used to conveniently generate user-specified data, which is used as input for functional verification, testing, and performance testing of seatunnel.
name | type | required | default value |
---|---|---|---|
content | array | no | - |
rate | number | yes | - |
common-options | string | yes | - |
List of test data strings
Number of test cases generated per second
Source plugin common parameters, please refer to Source Plugin for details
fakeStream { content = ['name=ricky&age=23', 'name=gary&age=28'] rate = 5 }
The generated data is as follows, randomly extract the string from the content
list
+-----------------+ |raw_message | +-----------------+ |name=gary&age=28 | |name=ricky&age=23| +-----------------+