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

    https://github.com/apache/metron/pull/1136#discussion_r206503184
  
    --- Diff: metron-sensors/pycapa/README.md ---
    @@ -239,25 +239,47 @@ The probe can be used in a Kerberized environment.  
Follow these additional step
       * The keytab used is located at 
`/etc/security/keytabs/metron.headless.keytab`
       * The service principal is `[email protected]`
     
    +    If it is not, ensure that you have `libsasl` or `libsasl2` installed.  
On CentOS, this can be installed with the following command.   
    +    ```
    +    yum install -y cyrus-sasl cyrus-sasl-devel cyrus-sasl-gssapi
    +    ```
    + 
    + 1. Use the non-binary wheel to install confluent-kafka-python.
    +   
    +    The Python client README 
(https://github.com/confluentinc/confluent-kafka-python) has an important note 
for Kerberos case:
    +    ```
    +    **NOTE:** The pre-built Linux wheels do NOT contain SASL Kerberos 
support.
    +             If you need SASL Kerberos support you must install librdkafka 
and
    +             its dependencies using the above repositories and then build
    +             confluent-kafka from source.
    +     ```
    +    
    +    so you will need to use the non-binary wheel to install 
confluent-kafka-python and build/install librdkafka separately
    +
     1. Build Librdkafka with SASL support (` --enable-sasl`) and install at 
your chosen $PREFIX.
         ```
    -    wget https://github.com/edenhill/librdkafka/archive/v0.9.4.tar.gz  -O 
- | tar -xz
    -    cd librdkafka-0.9.4/
    +    wget https://github.com/edenhill/librdkafka/archive/v0.11.5.tar.gz  -O 
- | tar -xz
    +    cd librdkafka-0.11.5/
         ./configure --prefix=$PREFIX --enable-sasl
         make
         make install
         ```
     
     1. Validate Librdkafka does indeed support SASL.  Run the following 
command and ensure that `sasl` is returned as a built-in feature.
         ```
    -    $ examples/rdkafka_example -X builtin.features
    -    builtin.features = gzip,snappy,ssl,sasl,regex
    -    ```
    -
    -   If it is not, ensure that you have `libsasl` or `libsasl2` installed.  
On CentOS, this can be installed with the following command.
    -    ```
    -    yum install -y cyrus-sasl cyrus-sasl-devel cyrus-sasl-gssapi
    +    $ examples/rdkafka_example -X builtin.features    
    +      builtin.features = 
gzip,snappy,ssl,sasl,regex,lz4,sasl_gssapi,sasl_plain,sasl_scram,plugins
         ```
    +1. The source install of confluent-kafka:       
    +             
    +      ```
    +       // If you have already installed, remove the binary wheel python 
client first, repeat until it says no longer installed
    --- End diff --
    
    Can you extract the comment from the code block?  Seems like it just just 
be part of the text.


---

Reply via email to