Skip to content

Instantly share code, notes, and snippets.

View phrocker's full-sized avatar
🏠
Writin dem codez

Marc phrocker

🏠
Writin dem codez
View GitHub Profile
#include <memory>
#include <string>
#include <iostream>
class Property{
public:
virtual const std::string &getValue() __attribute__ ((always_inline));
std::string value;
std::string key;
@phrocker
phrocker / FlowFile Example
Created December 4, 2017 16:21
Throughput Measuring
Flow Controller:
name: MiNiFi Flow
id: 2438e3c8-015a-1000-79ca-83af40ec1990
Processors:
- name: GenerateFlowFile
id: 2438e3c8-015a-1000-79ca-83af40ec1991
class: org.apache.nifi.processors.standard.GenerateFlowFile
max concurrent tasks: 5
scheduling strategy: TIMER_DRIVEN
@phrocker
phrocker / blahblah
Last active February 13, 2018 11:35
Flow Controller:
name: MiNiFi Flow
id: 2438e3c8-015a-1000-79ca-83af40ec1990
Processors:
- name: GetFile
id: 2438e3c8-015a-1000-79ca-83af40ec1991
class: org.apache.nifi.processors.standard.GenerateFlowFile
max concurrent tasks: 1
scheduling strategy: TIMER_DRIVEN
scheduling period: 1 sec
MiNiFi Config Version: 3
Flow Controller:
name: GetFile
Core Properties:
flow controller graceful shutdown period: 10 sec
flow service write delay interval: 500 ms
administrative yield duration: 30 sec
bored yield duration: 10 millis
max concurrent threads: 1
variable registry properties: ''
@phrocker
phrocker / mqttc2
Created May 1, 2018 18:17
MQTT C2
MiNiFi Config Version: 3
Flow Controller:
name: GetFile
comment: jsjlejgjkelkjgkalsjdgasetg
Core Properties:
flow controller graceful shutdown period: 10 sec
flow service write delay interval: 500 ms
administrative yield duration: 30 sec
bored yield duration: 10 millis
max concurrent threads: 1
MiNiFi Config Version: 3
Flow Controller:
name: GetFile
comment: jsjlejgjkelkjgkalsjdgasetg
Core Properties:
flow controller graceful shutdown period: 10 sec
flow service write delay interval: 500 ms
administrative yield duration: 30 sec
bored yield duration: 10 millis
max concurrent threads: 1
{
"operation": "heartbeat",
"agentInfo": {
"agentManifest": {
" resp": [
{
"processors": {
"org::apache::nifi::minifi::processors::AppendHostInfo": {
"buildInfo": {
"compiler": "/usr/bin/c++",
{
"operation": "heartbeat",
"agentInfo": {
"agentManifest": {
"buildInfo": {
"compiler": "/usr/bin/c++",
"flags": " -std=c++11 -Wall",
"revision": "63b87db9b2691c24b9cf5b16454109000c04f510",
"timestamp": 1532354857,
"version": "0.6.0"
{
"operation": "heartbeat",
"agentInfo": {
"agentManifest": {
"buildInfo": {
"compiler": "/usr/bin/c++",
"flags": " -std=c++11 -Wall",
"revision": "1d7c7030bb47d35fbe9a877316ae397e3b5d1c6d",
"timestamp": 1532374475,
"version": "0.6.0"
{
"operation": "heartbeat",
"agentInfo": {
"agentManifest": {
"buildInfo": {
"compiler": "/usr/bin/c++",
"flags": " -std=c++11 -Wall",
"revision": "675c279515df7709b9b944ff4bf46006af5ade5f",
"timestamp": 1532392135,
"version": "0.6.0"