Github user simonellistonball commented on a diff in the pull request:

    https://github.com/apache/metron/pull/709#discussion_r134235349
  
    --- Diff: 
metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/CURRENT/configuration/metron-profiler-env.xml
 ---
    @@ -0,0 +1,98 @@
    +<?xml version="1.0"?>
    +<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
    +<!--
    +  Licensed to the Apache Software Foundation (ASF) under one
    +  or more contributor license agreements.  See the NOTICE file
    +  distributed with this work for additional information
    +  regarding copyright ownership.  The ASF licenses this file
    +  to you under the Apache License, Version 2.0 (the
    +  "License"); you may not use this file except in compliance
    +  with the License.  You may obtain a copy of the License at
    +
    +       http://www.apache.org/licenses/LICENSE-2.0
    +
    +  Unless required by applicable law or agreed to in writing, software
    +  distributed under the License is distributed on an "AS IS" BASIS,
    +  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    +  See the License for the specific language governing permissions and
    +  limitations under the License.
    +-->
    +<configuration supports_final="true">
    +  <property>
    +    <name>profiler_kafka_start</name>
    +    <value>UNCOMMITTED_EARLIEST</value>
    +    <description>One of EARLIEST, LATEST, UNCOMMITTED_EARLIEST, 
UNCOMMITTED_LATEST</description>
    +    <display-name>Input Topic Start</display-name>
    +  </property>
    +  <property>
    +    <name>profiler_period_duration</name>
    +    <value>15</value>
    +    <description>The duration of each profile period. This value should be 
defined along with profiler.period.duration.units</description>
    +    <display-name>Period Duration</display-name>
    +  </property>
    +  <property>
    +    <name>profiler_period_units</name>
    +    <value>MINUTES</value>
    +    <description>The units used to specify the profiler.period.duration. 
This value should be defined along with profiler.period.duration.</description>
    +    <display-name>Period Units</display-name>
    +  </property>
    +  <property>
    +    <name>profiler_ttl</name>
    +    <value>30</value>
    +    <description>If a message has not been applied to a Profile in this 
period of time, the Profile will be terminated and its resources will be 
cleaned up. This value should be defined along with profiler.ttl.units.
    +      This time-to-live does not affect the persisted Profile data in 
HBase. It only affects the state stored in memory during the execution of the 
latest profile period. This state will be deleted if the time-to-live is 
exceeded.
    +    </description>
    +    <display-name>Time to Live</display-name>
    +  </property>
    +  <property>
    +    <name>profiler_ttl_units</name>
    +    <value>MINUTES</value>
    --- End diff --
    
    Should constrain choice here too


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to