[jira] [Commented] (EAGLE-360) Kafka Java Producer with kerberos

2017-07-12 Thread DanielZhou (JIRA)

[ 
https://issues.apache.org/jira/browse/EAGLE-360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16084546#comment-16084546
 ] 

DanielZhou commented on EAGLE-360:
--

Hi, [~jhsenjaliya],
This was for an internal test. I tested in local env but it didn't work.

I think we don't need to merge this code as Logstash kafka plugin already added 
support for Kerberos SASL (requires plugin version 5.1.0 or later). 
https://www.elastic.co/guide/en/logstash/current/plugins-outputs-kafka.html

Regards,
Da

> Kafka Java Producer with kerberos
> -
>
> Key: EAGLE-360
> URL: https://issues.apache.org/jira/browse/EAGLE-360
> Project: Eagle
>  Issue Type: Improvement
>Affects Versions: v0.3.0
>Reporter: Hao Chen
>Assignee: DanielZhou
> Fix For: v0.6.0
>
>
> *log4j.properties*
> {code}
> log4j.appender.KAFKA_HDFS_AUDIT.SecurityProtocol=PLAINTEXTSASL
> log4j.appender.KAFKA_HDFS_AUDIT.SecurityKrb5Conf=/etc/krb5.conf
> log4j.appender.KAFKA_HDFS_AUDIT.SecurityAuthLoginConfig=/etc/kafka/kafka_jaas.conf
> log4j.appender.KAFKA_HDFS_AUDIT.SecurityAuthUseSubjectCredsOnly=false
> log4j.appender.KAFKA_HDFS_AUDIT.SecurityKrb5Debug=true
> {code}
> *kafka_jaas.conf*
> {code}
> KafkaClient {
> com.sun.security.auth.module.Krb5LoginModule required
> doNotPrompt=true
> useTicketCache=true
> principal="ctad...@eagle.incubator.apache.org"
> useKeyTab=true
> serviceName="kafka"
> keyTab="/etc/security/keytabs/ctadmin.keytab"
> client=true;
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (EAGLE-360) Kafka Java Producer with kerberos

2017-07-12 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/EAGLE-360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16084484#comment-16084484
 ] 

ASF GitHub Bot commented on EAGLE-360:
--

Github user jhsenjaliya commented on the issue:

https://github.com/apache/eagle/pull/256
  
@haoch, @DadanielZ  , I dont see these code changes in master or 
branch-0.5, were you expecting this to be merged ?


> Kafka Java Producer with kerberos
> -
>
> Key: EAGLE-360
> URL: https://issues.apache.org/jira/browse/EAGLE-360
> Project: Eagle
>  Issue Type: Improvement
>Affects Versions: v0.3.0
>Reporter: Hao Chen
>Assignee: DanielZhou
> Fix For: v0.6.0
>
>
> *log4j.properties*
> {code}
> log4j.appender.KAFKA_HDFS_AUDIT.SecurityProtocol=PLAINTEXTSASL
> log4j.appender.KAFKA_HDFS_AUDIT.SecurityKrb5Conf=/etc/krb5.conf
> log4j.appender.KAFKA_HDFS_AUDIT.SecurityAuthLoginConfig=/etc/kafka/kafka_jaas.conf
> log4j.appender.KAFKA_HDFS_AUDIT.SecurityAuthUseSubjectCredsOnly=false
> log4j.appender.KAFKA_HDFS_AUDIT.SecurityKrb5Debug=true
> {code}
> *kafka_jaas.conf*
> {code}
> KafkaClient {
> com.sun.security.auth.module.Krb5LoginModule required
> doNotPrompt=true
> useTicketCache=true
> principal="ctad...@eagle.incubator.apache.org"
> useKeyTab=true
> serviceName="kafka"
> keyTab="/etc/security/keytabs/ctadmin.keytab"
> client=true;
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (EAGLE-360) Kafka Java Producer with kerberos

2017-07-12 Thread Jayesh (JIRA)

[ 
https://issues.apache.org/jira/browse/EAGLE-360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16084473#comment-16084473
 ] 

Jayesh commented on EAGLE-360:
--

[~DanielZhou], was this tested ?

> Kafka Java Producer with kerberos
> -
>
> Key: EAGLE-360
> URL: https://issues.apache.org/jira/browse/EAGLE-360
> Project: Eagle
>  Issue Type: Improvement
>Affects Versions: v0.3.0
>Reporter: Hao Chen
>Assignee: DanielZhou
> Fix For: v0.6.0
>
>
> *log4j.properties*
> {code}
> log4j.appender.KAFKA_HDFS_AUDIT.SecurityProtocol=PLAINTEXTSASL
> log4j.appender.KAFKA_HDFS_AUDIT.SecurityKrb5Conf=/etc/krb5.conf
> log4j.appender.KAFKA_HDFS_AUDIT.SecurityAuthLoginConfig=/etc/kafka/kafka_jaas.conf
> log4j.appender.KAFKA_HDFS_AUDIT.SecurityAuthUseSubjectCredsOnly=false
> log4j.appender.KAFKA_HDFS_AUDIT.SecurityKrb5Debug=true
> {code}
> *kafka_jaas.conf*
> {code}
> KafkaClient {
> com.sun.security.auth.module.Krb5LoginModule required
> doNotPrompt=true
> useTicketCache=true
> principal="ctad...@eagle.incubator.apache.org"
> useKeyTab=true
> serviceName="kafka"
> keyTab="/etc/security/keytabs/ctadmin.keytab"
> client=true;
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)