[
https://issues.apache.org/jira/browse/MINIFI-324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16060885#comment-16060885
]
ASF GitHub Bot commented on MINIFI-324:
---------------------------------------
Github user phrocker commented on a diff in the pull request:
https://github.com/apache/nifi-minifi-cpp/pull/115#discussion_r123745177
--- Diff: README.md ---
@@ -326,26 +326,44 @@ Additionally, users can utilize the MiNiFi Toolkit
Converter (version 0.0.1 - sc
### Http Configuration Listener
- Http Configuration Listener will pull flow file configuration from the
remote command control server,
+ Http Configuration Listener will pull flow file configuration from the
remote command control server,
validate and apply the new flow configuration
- in minifi.properties
+ in minifi.properties
nifi.configuration.listener.type=http
nifi.configuration.listener.http.url=https://localhost:8080
- nifi.configuration.listener.pull.interval=1 sec
+ nifi.configuration.listener.pull.interval=1 sec
nifi.configuration.listener.client.ca.certificate=./conf/nifi-cert.pem
if you want to enable client certificate
nifi.configuration.listener.need.ClientAuth=true
nifi.configuration.listener.client.certificate=./conf/client.pem
nifi.configuration.listener.client.private.key=./conf/client.key
nifi.configuration.listener.client.pass.phrase=./conf/password
-
+
+### UID generation
+
+MiNiFi need to generate many unique identifiers in the course of
operations. There are a few different uid implementations available that can
be configured in minifi-uid.properties.
+
+Implementation for uid generation can be selected using the
uid.implementation property values:
+1. time - use uuid_generate_time
+2. random - use uuid_generate_random
+3. uuid_default - use uuid_generate (will attempt to use
uuid_generate_random and fall back to uuid_generate_time if no high quality
randomness is available)
--- End diff --
Sorry, I think my question was poorly worded. You make clear what happens
when the file exists, which is what I meant by "in the context of
uid.implementation [existing]".
My question was more about documenting what will be used if the uid
configuration file and the options don't exist. It seemed from the log message,
"Using uuid_generate_time implementation for uids." that we were simply relying
on time and not random first and then time.
> Explore alternative ways to supply identifiers
> ----------------------------------------------
>
> Key: MINIFI-324
> URL: https://issues.apache.org/jira/browse/MINIFI-324
> Project: Apache NiFi MiNiFi
> Issue Type: Improvement
> Reporter: marco polo
> Assignee: Bryan Rosander
> Priority: Minor
>
> As [[email protected]] mentioned, we could either increment a value in
> place of generating unique identifiers for any non NiFi related comms ( i.e.
> internal objects, claims, etc )
> Generating unique identifiers is costly and this may not be a cost all
> consumers wish to incur.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)