mikebywater / kafka-author
A simple utility for sending test payloads to kafka via php
Installs: 47
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 0
Language:JavaScript
Requires
- php: >=7.0
- fzaninotto/faker: ^1.9
- monolog/monolog: ^1.17
- slim/php-view: ^2.0
- slim/slim: ^3.1
Requires (Dev)
- phpunit/phpunit: >=4.8 < 6.0
README
Getting Started
Clone the repository and enter the directory
git clone git@github.com:mikebywater/kafka-author.git
cd kafka-author
Bring up the containers (you will need docker and ocker-compose installed)
docker-compose up -d
And again, navigate to
http://localhost:8050
Fake Data
When producing there is a limited ability to create fake data. The following substitutions are possible.
!!NAME!! // returns as full name eg. Mike Bywater !!FIRST_NAME!! // returns a first name eg. Tom !!LAST_NAME!! // returns a surname eg. Barnes !!EMAIL!! // returns an email eg. mike.bywater@cityfibre.com !!NUMBER!! // returns a single digit eg. 1 !!STREET!! // returns a street name eg. Coach Lane !!POSTCODE!! // returns a UK postcode eg. MK9 3NZ !!CITY!! // returns a city eg. Milton keynes