Open davetorok opened 8 years ago
@davetorok I can't reproduce locally here. Can you tell me more about which properties you set in GetKafka
? Which ones are different from defaults? Have you modified the Client Name
and Group ID
?
pretty sure it was unmodified GetKafka with a genrated Client Name / Group ID [not modified]
Dave, I can't reproduce here, can reliably redeploy, and even added a DB connection pool service in the template. See my yaml and template files below. Maybe you could share your template with me? Can send a private message if you want. Make sure to test with the latest version of this script. Thanks!
nifi:
templateUri: file:github18.xml
templateName: github18
undeploy:
templates:
- github18
controllerServices:
- DBCPConnectionPool
processGroups:
- template-auto
controllerServices:
DBCPConnectionPool:
state: DISABLED
config: {
}
processGroups:
template-auto:
processors:
GetKafka:
config:
ZooKeeper Connection String: lake01:2181
Topic Name: thetopic
ExecuteSQL:
config:
Database Connection Pooling Service: ${DBCPConnectionPool}
/dev/null:
config: {
}
as demonstrated.... GetKafka with default ids if ("NiFi-asdf123-12382-334zjbkj") fail with TemplateInspector. Regex fix was changing to ^....$
TemplateInspector regex line 89 is finding some GUIDs (e.g. the "Client Name" and "Group ID" in my GetKafka processors) and mis-interpreting them as Controller Service GUIDs