This is for self reference; change appropritely as your needs.
You should make
/var/log/zookeeperdirectory, and give permission tozookeeperaccount.
# mkdir /var/log/zookeeper
# chown zookeeper:zookeeper -R /var/log/zookeeper| import { ValidationArguments, ValidatorConstraintInterface } from 'class-validator'; | |
| import { Connection, EntitySchema, FindConditions, ObjectType } from 'typeorm'; | |
| interface UniqueValidationArguments<E> extends ValidationArguments { | |
| constraints: [ | |
| ObjectType<E> | EntitySchema<E> | string, | |
| ((validationArguments: ValidationArguments) => FindConditions<E>) | keyof E, | |
| ]; | |
| } |
This is for self reference; change appropritely as your needs.
You should make
/var/log/zookeeperdirectory, and give permission tozookeeperaccount.
# mkdir /var/log/zookeeper
# chown zookeeper:zookeeper -R /var/log/zookeeper| Producer | |
| Setup | |
| bin/kafka-topics.sh --zookeeper esv4-hcl197.grid.linkedin.com:2181 --create --topic test-rep-one --partitions 6 --replication-factor 1 | |
| bin/kafka-topics.sh --zookeeper esv4-hcl197.grid.linkedin.com:2181 --create --topic test --partitions 6 --replication-factor 3 | |
| Single thread, no replication | |
| bin/kafka-run-class.sh org.apache.kafka.clients.tools.ProducerPerformance test7 50000000 100 -1 acks=1 bootstrap.servers=esv4-hcl198.grid.linkedin.com:9092 buffer.memory=67108864 batch.size=8196 |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |