From d772600c7b79d84d332aa2b7d37512b47fd7d7ae Mon Sep 17 00:00:00 2001 From: Jun Rao Date: Fri, 23 Sep 2011 01:44:40 +0000 Subject: [PATCH] Fix ASF license headers for C# client; patched by Eric Hauser; #KAFKA-137 git-svn-id: https://svn.apache.org/repos/asf/incubator/kafka/trunk@1174493 13f79535-47bb-0310-9956-ffa450edef68 --- .../Kafka.Client/Cfg/AsyncProducerConfig.cs | 15 ++++----- .../Kafka.Client/Cfg/BrokerPartitionInfo.cs | 15 ++++----- .../Cfg/BrokerPartitionInfoCollection.cs | 15 ++++----- .../src/Kafka/Kafka.Client/Cfg/Consumer.cs | 15 ++++----- .../Kafka/Kafka.Client/Cfg/ConsumerConfig.cs | 15 ++++----- .../Cfg/IAsyncProducerConfigShared.cs | 15 ++++----- .../Cfg/ISyncProducerConfigShared.cs | 15 ++++----- .../Cfg/KafkaClientConfiguration.cs | 15 ++++----- .../src/Kafka/Kafka.Client/Cfg/KafkaServer.cs | 31 ++++++++++--------- .../Kafka/Kafka.Client/Cfg/ProducerConfig.cs | 15 ++++----- .../Kafka.Client/Cfg/SyncProducerConfig.cs | 15 ++++----- .../src/Kafka/Kafka.Client/Cfg/ZKConfig.cs | 15 ++++----- .../Kafka.Client/Cfg/ZooKeeperServers.cs | 15 ++++----- .../src/Kafka/Kafka.Client/Cluster/Broker.cs | 15 ++++----- .../src/Kafka/Kafka.Client/Cluster/Cluster.cs | 15 ++++----- .../Kafka/Kafka.Client/Cluster/Partition.cs | 15 ++++----- .../Kafka/Kafka.Client/Consumers/Consumer.cs | 15 ++++----- .../Consumers/ConsumerIterator.cs | 15 ++++----- .../Consumers/ConsumerIteratorState.cs | 16 +++++----- .../Consumers/FetchedDataChunk.cs | 15 ++++----- .../Kafka/Kafka.Client/Consumers/Fetcher.cs | 15 ++++----- .../Kafka.Client/Consumers/FetcherRunnable.cs | 15 ++++----- .../Kafka/Kafka.Client/Consumers/IConsumer.cs | 15 ++++----- .../Consumers/IConsumerConnector.cs | 15 ++++----- .../Consumers/KafkaMessageStream.cs | 15 ++++----- .../Consumers/PartitionTopicInfo.cs | 15 ++++----- .../Kafka.Client/Consumers/TopicCount.cs | 15 ++++----- .../Consumers/ZookeeperConsumerConnector.cs | 15 ++++----- .../Exceptions/ConsumerTimeoutException.cs | 22 ++++++++++--- .../Kafka.Client/Exceptions/KafkaException.cs | 15 ++++----- .../MessageSizeTooLargeException.cs | 19 +++++++++++- .../Exceptions/ZKRebalancerException.cs | 22 ++++++++++--- .../Exceptions/ZooKeeperException.cs | 19 +++++++++++- .../Exceptions/ZooKeeperTimeoutException.cs | 19 +++++++++++- .../src/Kafka/Kafka.Client/KafkaClientBase.cs | 15 ++++----- .../src/Kafka/Kafka.Client/KafkaConnection.cs | 15 ++++----- .../Kafka.Client/Messages/BoundedBuffer.cs | 15 ++++----- .../Messages/BufferedMessageSet.cs | 15 ++++----- .../Kafka/Kafka.Client/Messages/Message.cs | 15 ++++----- .../Kafka/Kafka.Client/Messages/MessageSet.cs | 15 ++++----- .../Producers/Async/AsyncProducer.cs | 15 ++++----- .../Producers/Async/AsyncProducerPool.cs | 15 ++++----- .../Producers/Async/IAsyncProducer.cs | 15 ++++----- .../Producers/Async/ICallbackHandler.cs | 15 ++++----- .../Producers/Async/MessageSent.cs | 15 ++++----- .../Kafka/Kafka.Client/Producers/IProducer.cs | 15 ++++----- .../Kafka.Client/Producers/IProducerPool.cs | 15 ++++----- .../Partitioning/ConfigBrokerPartitionInfo.cs | 15 ++++----- .../Partitioning/DefaultPartitioner.cs | 15 ++++----- .../Partitioning/IBrokerPartitionInfo.cs | 15 ++++----- .../Producers/Partitioning/IPartitioner.cs | 15 ++++----- .../Partitioning/ZKBrokerPartitionInfo.cs | 15 ++++----- .../Kafka.Client/Producers/Producer.StrMsg.cs | 15 ++++----- .../Kafka/Kafka.Client/Producers/Producer.cs | 15 ++++----- .../Kafka.Client/Producers/ProducerData.cs | 15 ++++----- .../Kafka.Client/Producers/ProducerPool.cs | 15 ++++----- .../Producers/ProducerPoolData.cs | 15 ++++----- .../Kafka.Client/Producers/ProducerTypes.cs | 15 ++++----- .../Producers/Sync/ISyncProducer.cs | 15 ++++----- .../Producers/Sync/SyncProducer.cs | 15 ++++----- .../Producers/Sync/SyncProducerPool.cs | 15 ++++----- .../src/Kafka/Kafka.Client/RequestContext.cs | 15 ++++----- .../Kafka.Client/Requests/AbstractRequest.cs | 15 ++++----- .../Kafka.Client/Requests/FetchRequest.cs | 15 ++++----- .../Requests/MultiFetchRequest.cs | 15 ++++----- .../Requests/MultiProducerRequest.cs | 15 ++++----- .../Kafka.Client/Requests/OffsetRequest.cs | 15 ++++----- .../Kafka.Client/Requests/ProducerRequest.cs | 15 ++++----- .../Kafka.Client/Requests/RequestTypes.cs | 15 ++++----- .../Serialization/DefaultEncoder.cs | 15 ++++----- .../Kafka.Client/Serialization/IEncoder.cs | 15 ++++----- .../Kafka.Client/Serialization/IWritable.cs | 15 ++++----- .../Serialization/KafkaBinaryReader.cs | 15 ++++----- .../Serialization/KafkaBinaryWriter.cs | 15 ++++----- .../Serialization/StringEncoder.cs | 15 ++++----- .../src/Kafka/Kafka.Client/Utils/BitWorks.cs | 15 ++++----- .../Kafka/Kafka.Client/Utils/Crc32Hasher.cs | 18 ++++++++++- .../Kafka/Kafka.Client/Utils/ErrorMapping.cs | 16 +++++----- .../Kafka/Kafka.Client/Utils/Extensions.cs | 15 ++++----- .../src/Kafka/Kafka.Client/Utils/Guard.cs | 15 ++++----- .../Kafka.Client/Utils/KafkaScheduler.cs | 15 ++++----- .../Kafka.Client/Utils/ReflectionHelper.cs | 15 ++++----- .../Kafka/Kafka.Client/Utils/ZKGroupDirs.cs | 16 +++++----- .../Kafka.Client/Utils/ZKGroupTopicDirs.cs | 15 ++++----- .../src/Kafka/Kafka.Client/Utils/ZkUtils.cs | 15 ++++----- .../ZooKeeperAwareKafkaClientBase.cs | 15 ++++----- .../Events/ChildChangedEventItem.cs | 15 ++++----- .../Events/DataChangedEventItem.cs | 15 ++++----- .../Events/ZooKeeperChildChangedEventArgs.cs | 15 ++++----- .../Events/ZooKeeperDataChangedEventArgs.cs | 15 ++++----- .../Events/ZooKeeperEventArgs.cs | 15 ++++----- .../Events/ZooKeeperEventTypes.cs | 15 ++++----- .../ZooKeeperSessionCreatedEventArgs.cs | 15 ++++----- .../Events/ZooKeeperStateChangedEventArgs.cs | 15 ++++----- .../ZooKeeperIntegration/IZooKeeperClient.cs | 15 ++++----- .../IZooKeeperConnection.cs | 15 ++++----- .../IZooKeeperSerializer.cs | 15 ++++----- .../Listeners/BrokerTopicsListener.cs | 15 ++++----- .../Listeners/IZooKeeperChildListener.cs | 15 ++++----- .../Listeners/IZooKeeperDataListener.cs | 15 ++++----- .../Listeners/IZooKeeperStateListener.cs | 15 ++++----- .../Listeners/ZKRebalancerListener.cs | 15 ++++----- .../Listeners/ZKSessionExpireListener.cs | 15 ++++----- .../ZooKeeperIntegration/ZooKeeperClient.cs | 15 ++++----- .../ZooKeeperConnection.cs | 15 ++++----- .../ZooKeeperStringSerializer.cs | 15 ++++----- .../ConsumerRebalancingTests.cs | 15 ++++----- .../ConsumerTests.cs | 15 ++++----- .../IntegrationFixtureBase.cs | 15 ++++----- .../KafkaIntegrationTest.cs | 15 ++++----- .../MockAlwaysZeroPartitioner.cs | 21 ++++++++++--- .../ProducerTests.cs | 15 ++++----- .../Properties/AssemblyInfo.cs | 19 +++++++++++- .../TestHelper.cs | 15 ++++----- .../TestMultipleBrokersHelper.cs | 15 ++++----- .../TestsSetup.cs | 15 ++++----- .../ZKBrokerPartitionInfoTests.cs | 15 ++++----- .../ZooKeeperAwareProducerTests.cs | 15 ++++----- .../ZooKeeperClientTests.cs | 15 ++++----- .../ZooKeeperConnectionTests.cs | 15 ++++----- .../Kafka.Client.Tests/MessageSetTests.cs | 15 ++++----- .../Tests/Kafka.Client.Tests/MessageTests.cs | 15 ++++----- .../Producers/PartitioningTests.cs | 15 ++++----- .../Request/FetchRequestTests.cs | 15 ++++----- .../Request/MultiFetchRequestTests.cs | 15 ++++----- .../Request/MultiProducerRequestTests.cs | 15 ++++----- .../Request/OffsetRequestTests.cs | 15 ++++----- .../Request/ProducerRequestTests.cs | 15 ++++----- .../Kafka.Client.Tests/Util/BitWorksTests.cs | 15 ++++----- 129 files changed, 1121 insertions(+), 872 deletions(-) diff --git a/clients/csharp/src/Kafka/Kafka.Client/Cfg/AsyncProducerConfig.cs b/clients/csharp/src/Kafka/Kafka.Client/Cfg/AsyncProducerConfig.cs index b27ea2cf20f..c0fc2b46ebd 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Cfg/AsyncProducerConfig.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Cfg/AsyncProducerConfig.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Cfg { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Cfg/BrokerPartitionInfo.cs b/clients/csharp/src/Kafka/Kafka.Client/Cfg/BrokerPartitionInfo.cs index fecd9b148e2..44a70bc8b1f 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Cfg/BrokerPartitionInfo.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Cfg/BrokerPartitionInfo.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Cfg { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Cfg/BrokerPartitionInfoCollection.cs b/clients/csharp/src/Kafka/Kafka.Client/Cfg/BrokerPartitionInfoCollection.cs index 2c69df15323..5dbed5e7f92 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Cfg/BrokerPartitionInfoCollection.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Cfg/BrokerPartitionInfoCollection.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Cfg { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Cfg/Consumer.cs b/clients/csharp/src/Kafka/Kafka.Client/Cfg/Consumer.cs index 2746ac867d8..5ba8145660b 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Cfg/Consumer.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Cfg/Consumer.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Cfg { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Cfg/ConsumerConfig.cs b/clients/csharp/src/Kafka/Kafka.Client/Cfg/ConsumerConfig.cs index 9dc1e85c307..eacf40792de 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Cfg/ConsumerConfig.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Cfg/ConsumerConfig.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Cfg { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Cfg/IAsyncProducerConfigShared.cs b/clients/csharp/src/Kafka/Kafka.Client/Cfg/IAsyncProducerConfigShared.cs index 39f7fade512..7de5736e7ac 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Cfg/IAsyncProducerConfigShared.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Cfg/IAsyncProducerConfigShared.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Cfg { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Cfg/ISyncProducerConfigShared.cs b/clients/csharp/src/Kafka/Kafka.Client/Cfg/ISyncProducerConfigShared.cs index 589d3aa21ee..36b10c17db1 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Cfg/ISyncProducerConfigShared.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Cfg/ISyncProducerConfigShared.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Cfg { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Cfg/KafkaClientConfiguration.cs b/clients/csharp/src/Kafka/Kafka.Client/Cfg/KafkaClientConfiguration.cs index 6f1a768d8cb..db8a6648626 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Cfg/KafkaClientConfiguration.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Cfg/KafkaClientConfiguration.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Cfg { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Cfg/KafkaServer.cs b/clients/csharp/src/Kafka/Kafka.Client/Cfg/KafkaServer.cs index 04bb4b733f7..e3c3af209f4 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Cfg/KafkaServer.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Cfg/KafkaServer.cs @@ -1,18 +1,19 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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. -*/ +/** + * 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. + */ namespace Kafka.Client.Cfg { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Cfg/ProducerConfig.cs b/clients/csharp/src/Kafka/Kafka.Client/Cfg/ProducerConfig.cs index 4555ed4c87e..d2c0b8ac8ea 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Cfg/ProducerConfig.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Cfg/ProducerConfig.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Cfg { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Cfg/SyncProducerConfig.cs b/clients/csharp/src/Kafka/Kafka.Client/Cfg/SyncProducerConfig.cs index 68015ec9c0e..f88c301241d 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Cfg/SyncProducerConfig.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Cfg/SyncProducerConfig.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Cfg { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Cfg/ZKConfig.cs b/clients/csharp/src/Kafka/Kafka.Client/Cfg/ZKConfig.cs index 542e87b4eed..044279fa17f 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Cfg/ZKConfig.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Cfg/ZKConfig.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Cfg { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Cfg/ZooKeeperServers.cs b/clients/csharp/src/Kafka/Kafka.Client/Cfg/ZooKeeperServers.cs index d472a02166f..1e357b1ec23 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Cfg/ZooKeeperServers.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Cfg/ZooKeeperServers.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Cfg { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Cluster/Broker.cs b/clients/csharp/src/Kafka/Kafka.Client/Cluster/Broker.cs index e4d9294663e..fd57147f481 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Cluster/Broker.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Cluster/Broker.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Cluster { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Cluster/Cluster.cs b/clients/csharp/src/Kafka/Kafka.Client/Cluster/Cluster.cs index f3cee8568e2..eca7b30b482 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Cluster/Cluster.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Cluster/Cluster.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ using System; using System.Globalization; diff --git a/clients/csharp/src/Kafka/Kafka.Client/Cluster/Partition.cs b/clients/csharp/src/Kafka/Kafka.Client/Cluster/Partition.cs index 8a460755530..a7164ed4d83 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Cluster/Partition.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Cluster/Partition.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Cluster { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Consumers/Consumer.cs b/clients/csharp/src/Kafka/Kafka.Client/Consumers/Consumer.cs index f156c5f4316..93da69757c8 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Consumers/Consumer.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Consumers/Consumer.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Consumers { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Consumers/ConsumerIterator.cs b/clients/csharp/src/Kafka/Kafka.Client/Consumers/ConsumerIterator.cs index edc645d6673..5a0276b8437 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Consumers/ConsumerIterator.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Consumers/ConsumerIterator.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Consumers { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Consumers/ConsumerIteratorState.cs b/clients/csharp/src/Kafka/Kafka.Client/Consumers/ConsumerIteratorState.cs index 5409738fddf..7da6e295d69 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Consumers/ConsumerIteratorState.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Consumers/ConsumerIteratorState.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,8 @@ * 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. -*/ + */ + namespace Kafka.Client.Consumers { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Consumers/FetchedDataChunk.cs b/clients/csharp/src/Kafka/Kafka.Client/Consumers/FetchedDataChunk.cs index 9df9b70b19a..7e20b969573 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Consumers/FetchedDataChunk.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Consumers/FetchedDataChunk.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Consumers { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Consumers/Fetcher.cs b/clients/csharp/src/Kafka/Kafka.Client/Consumers/Fetcher.cs index 4852ac18222..5011fc4956a 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Consumers/Fetcher.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Consumers/Fetcher.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Consumers { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Consumers/FetcherRunnable.cs b/clients/csharp/src/Kafka/Kafka.Client/Consumers/FetcherRunnable.cs index 7988b1c669f..b3db2ad0a33 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Consumers/FetcherRunnable.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Consumers/FetcherRunnable.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Consumers { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Consumers/IConsumer.cs b/clients/csharp/src/Kafka/Kafka.Client/Consumers/IConsumer.cs index dfd37556684..e77083a1910 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Consumers/IConsumer.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Consumers/IConsumer.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Consumers { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Consumers/IConsumerConnector.cs b/clients/csharp/src/Kafka/Kafka.Client/Consumers/IConsumerConnector.cs index 53f16dff91f..9413f43763e 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Consumers/IConsumerConnector.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Consumers/IConsumerConnector.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Consumers { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Consumers/KafkaMessageStream.cs b/clients/csharp/src/Kafka/Kafka.Client/Consumers/KafkaMessageStream.cs index 3da9cc2430e..a7c9affe2d5 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Consumers/KafkaMessageStream.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Consumers/KafkaMessageStream.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Consumers { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Consumers/PartitionTopicInfo.cs b/clients/csharp/src/Kafka/Kafka.Client/Consumers/PartitionTopicInfo.cs index 245c652e64a..9617e0893ac 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Consumers/PartitionTopicInfo.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Consumers/PartitionTopicInfo.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Consumers { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Consumers/TopicCount.cs b/clients/csharp/src/Kafka/Kafka.Client/Consumers/TopicCount.cs index 724f51a3df5..3d975674d6e 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Consumers/TopicCount.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Consumers/TopicCount.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Consumers { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Consumers/ZookeeperConsumerConnector.cs b/clients/csharp/src/Kafka/Kafka.Client/Consumers/ZookeeperConsumerConnector.cs index df1148524e9..3485a14b8a9 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Consumers/ZookeeperConsumerConnector.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Consumers/ZookeeperConsumerConnector.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Consumers { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Exceptions/ConsumerTimeoutException.cs b/clients/csharp/src/Kafka/Kafka.Client/Exceptions/ConsumerTimeoutException.cs index 4049b13b6e3..3930d3090e0 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Exceptions/ConsumerTimeoutException.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Exceptions/ConsumerTimeoutException.cs @@ -1,7 +1,21 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; +/** + * 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. + */ + +using System; namespace Kafka.Client.Exceptions { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Exceptions/KafkaException.cs b/clients/csharp/src/Kafka/Kafka.Client/Exceptions/KafkaException.cs index d73aac1e195..3721bc9470d 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Exceptions/KafkaException.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Exceptions/KafkaException.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Exceptions { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Exceptions/MessageSizeTooLargeException.cs b/clients/csharp/src/Kafka/Kafka.Client/Exceptions/MessageSizeTooLargeException.cs index fd766d03ffd..9cc17f89b1c 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Exceptions/MessageSizeTooLargeException.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Exceptions/MessageSizeTooLargeException.cs @@ -1,4 +1,21 @@ -namespace Kafka.Client.Exceptions +/** + * 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. + */ + +namespace Kafka.Client.Exceptions { using System; diff --git a/clients/csharp/src/Kafka/Kafka.Client/Exceptions/ZKRebalancerException.cs b/clients/csharp/src/Kafka/Kafka.Client/Exceptions/ZKRebalancerException.cs index f28b2ad1dd4..f8fa71cadc5 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Exceptions/ZKRebalancerException.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Exceptions/ZKRebalancerException.cs @@ -1,7 +1,21 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; +/** + * 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. + */ + +using System; namespace Kafka.Client.Exceptions { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Exceptions/ZooKeeperException.cs b/clients/csharp/src/Kafka/Kafka.Client/Exceptions/ZooKeeperException.cs index e43e0f4d582..3b94a3db340 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Exceptions/ZooKeeperException.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Exceptions/ZooKeeperException.cs @@ -1,4 +1,21 @@ -namespace Kafka.Client.Exceptions +/** + * 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. + */ + +namespace Kafka.Client.Exceptions { using System; using System.Runtime.Serialization; diff --git a/clients/csharp/src/Kafka/Kafka.Client/Exceptions/ZooKeeperTimeoutException.cs b/clients/csharp/src/Kafka/Kafka.Client/Exceptions/ZooKeeperTimeoutException.cs index 031f549526a..c922dfca238 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Exceptions/ZooKeeperTimeoutException.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Exceptions/ZooKeeperTimeoutException.cs @@ -1,4 +1,21 @@ -namespace Kafka.Client.Exceptions +/** + * 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. + */ + +namespace Kafka.Client.Exceptions { using System; diff --git a/clients/csharp/src/Kafka/Kafka.Client/KafkaClientBase.cs b/clients/csharp/src/Kafka/Kafka.Client/KafkaClientBase.cs index 8720d3eb336..ec0663a5e59 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/KafkaClientBase.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/KafkaClientBase.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client { diff --git a/clients/csharp/src/Kafka/Kafka.Client/KafkaConnection.cs b/clients/csharp/src/Kafka/Kafka.Client/KafkaConnection.cs index dbe31e11f57..a0dbfdcd683 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/KafkaConnection.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/KafkaConnection.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Messages/BoundedBuffer.cs b/clients/csharp/src/Kafka/Kafka.Client/Messages/BoundedBuffer.cs index 6c542dcb17d..91d17a70447 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Messages/BoundedBuffer.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Messages/BoundedBuffer.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Messages { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Messages/BufferedMessageSet.cs b/clients/csharp/src/Kafka/Kafka.Client/Messages/BufferedMessageSet.cs index 27a0851aa67..8cdb17d5215 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Messages/BufferedMessageSet.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Messages/BufferedMessageSet.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Messages { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Messages/Message.cs b/clients/csharp/src/Kafka/Kafka.Client/Messages/Message.cs index f2cc2ac6408..3e6f00247c0 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Messages/Message.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Messages/Message.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Messages { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Messages/MessageSet.cs b/clients/csharp/src/Kafka/Kafka.Client/Messages/MessageSet.cs index a62ee0fbc2c..e05cb6edfb1 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Messages/MessageSet.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Messages/MessageSet.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Messages { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Producers/Async/AsyncProducer.cs b/clients/csharp/src/Kafka/Kafka.Client/Producers/Async/AsyncProducer.cs index e186d3e195a..0969655a193 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Producers/Async/AsyncProducer.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Producers/Async/AsyncProducer.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Producers.Async { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Producers/Async/AsyncProducerPool.cs b/clients/csharp/src/Kafka/Kafka.Client/Producers/Async/AsyncProducerPool.cs index 2b73792c827..ef2af2a7abb 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Producers/Async/AsyncProducerPool.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Producers/Async/AsyncProducerPool.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Producers.Async { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Producers/Async/IAsyncProducer.cs b/clients/csharp/src/Kafka/Kafka.Client/Producers/Async/IAsyncProducer.cs index 26a79990bbd..b3c15e0e432 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Producers/Async/IAsyncProducer.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Producers/Async/IAsyncProducer.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Producers.Async { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Producers/Async/ICallbackHandler.cs b/clients/csharp/src/Kafka/Kafka.Client/Producers/Async/ICallbackHandler.cs index efbbdd78ddf..95e80cfc339 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Producers/Async/ICallbackHandler.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Producers/Async/ICallbackHandler.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Producers.Async { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Producers/Async/MessageSent.cs b/clients/csharp/src/Kafka/Kafka.Client/Producers/Async/MessageSent.cs index 8d0f8c01cec..6cc7dfabe74 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Producers/Async/MessageSent.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Producers/Async/MessageSent.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Producers.Async { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Producers/IProducer.cs b/clients/csharp/src/Kafka/Kafka.Client/Producers/IProducer.cs index da148278a72..060ccc6a5d5 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Producers/IProducer.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Producers/IProducer.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Producers { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Producers/IProducerPool.cs b/clients/csharp/src/Kafka/Kafka.Client/Producers/IProducerPool.cs index ef4fed09328..c052fb186ce 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Producers/IProducerPool.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Producers/IProducerPool.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Producers { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Producers/Partitioning/ConfigBrokerPartitionInfo.cs b/clients/csharp/src/Kafka/Kafka.Client/Producers/Partitioning/ConfigBrokerPartitionInfo.cs index af7d0cb469b..3c6ec4e8be5 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Producers/Partitioning/ConfigBrokerPartitionInfo.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Producers/Partitioning/ConfigBrokerPartitionInfo.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Producers.Partitioning { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Producers/Partitioning/DefaultPartitioner.cs b/clients/csharp/src/Kafka/Kafka.Client/Producers/Partitioning/DefaultPartitioner.cs index afb86aa83d2..4d662256522 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Producers/Partitioning/DefaultPartitioner.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Producers/Partitioning/DefaultPartitioner.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Producers.Partitioning { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Producers/Partitioning/IBrokerPartitionInfo.cs b/clients/csharp/src/Kafka/Kafka.Client/Producers/Partitioning/IBrokerPartitionInfo.cs index 05ae0a16c06..25ee0805bda 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Producers/Partitioning/IBrokerPartitionInfo.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Producers/Partitioning/IBrokerPartitionInfo.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Producers.Partitioning { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Producers/Partitioning/IPartitioner.cs b/clients/csharp/src/Kafka/Kafka.Client/Producers/Partitioning/IPartitioner.cs index 6401bce6c40..34b56664629 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Producers/Partitioning/IPartitioner.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Producers/Partitioning/IPartitioner.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Producers.Partitioning { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Producers/Partitioning/ZKBrokerPartitionInfo.cs b/clients/csharp/src/Kafka/Kafka.Client/Producers/Partitioning/ZKBrokerPartitionInfo.cs index e6b7c0c6a71..726a4aab0b5 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Producers/Partitioning/ZKBrokerPartitionInfo.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Producers/Partitioning/ZKBrokerPartitionInfo.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Producers.Partitioning { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Producers/Producer.StrMsg.cs b/clients/csharp/src/Kafka/Kafka.Client/Producers/Producer.StrMsg.cs index ae8a61c36e1..ad4ae609130 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Producers/Producer.StrMsg.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Producers/Producer.StrMsg.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Producers { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Producers/Producer.cs b/clients/csharp/src/Kafka/Kafka.Client/Producers/Producer.cs index 1c9812ed92e..1ff05cfc3e9 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Producers/Producer.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Producers/Producer.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Producers { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Producers/ProducerData.cs b/clients/csharp/src/Kafka/Kafka.Client/Producers/ProducerData.cs index 4caa8c4c265..2c299c8823c 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Producers/ProducerData.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Producers/ProducerData.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Producers { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Producers/ProducerPool.cs b/clients/csharp/src/Kafka/Kafka.Client/Producers/ProducerPool.cs index e3957f99898..9317dfe987f 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Producers/ProducerPool.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Producers/ProducerPool.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Producers { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Producers/ProducerPoolData.cs b/clients/csharp/src/Kafka/Kafka.Client/Producers/ProducerPoolData.cs index f19951e9dd6..fab9559d2cb 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Producers/ProducerPoolData.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Producers/ProducerPoolData.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Producers { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Producers/ProducerTypes.cs b/clients/csharp/src/Kafka/Kafka.Client/Producers/ProducerTypes.cs index 044a8969c7b..428c6069407 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Producers/ProducerTypes.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Producers/ProducerTypes.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Producers { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Producers/Sync/ISyncProducer.cs b/clients/csharp/src/Kafka/Kafka.Client/Producers/Sync/ISyncProducer.cs index 96c44e1692d..e6e6a283592 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Producers/Sync/ISyncProducer.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Producers/Sync/ISyncProducer.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Producers.Sync { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Producers/Sync/SyncProducer.cs b/clients/csharp/src/Kafka/Kafka.Client/Producers/Sync/SyncProducer.cs index 086cb4c3be6..8e803aa4667 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Producers/Sync/SyncProducer.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Producers/Sync/SyncProducer.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Producers.Sync { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Producers/Sync/SyncProducerPool.cs b/clients/csharp/src/Kafka/Kafka.Client/Producers/Sync/SyncProducerPool.cs index c60a509af6d..fd1802ed1f6 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Producers/Sync/SyncProducerPool.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Producers/Sync/SyncProducerPool.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Producers.Sync { diff --git a/clients/csharp/src/Kafka/Kafka.Client/RequestContext.cs b/clients/csharp/src/Kafka/Kafka.Client/RequestContext.cs index 9a8955d25be..80fc66ba022 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/RequestContext.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/RequestContext.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Requests/AbstractRequest.cs b/clients/csharp/src/Kafka/Kafka.Client/Requests/AbstractRequest.cs index e5071beb054..eacfe10ccea 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Requests/AbstractRequest.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Requests/AbstractRequest.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Requests { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Requests/FetchRequest.cs b/clients/csharp/src/Kafka/Kafka.Client/Requests/FetchRequest.cs index d80b24cbd27..999778f63c7 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Requests/FetchRequest.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Requests/FetchRequest.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Requests { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Requests/MultiFetchRequest.cs b/clients/csharp/src/Kafka/Kafka.Client/Requests/MultiFetchRequest.cs index 5ebadd40351..4cd2f7773f1 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Requests/MultiFetchRequest.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Requests/MultiFetchRequest.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Requests { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Requests/MultiProducerRequest.cs b/clients/csharp/src/Kafka/Kafka.Client/Requests/MultiProducerRequest.cs index f688354ba20..6088420b35f 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Requests/MultiProducerRequest.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Requests/MultiProducerRequest.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Requests { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Requests/OffsetRequest.cs b/clients/csharp/src/Kafka/Kafka.Client/Requests/OffsetRequest.cs index 65891fcf6d0..f498366d515 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Requests/OffsetRequest.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Requests/OffsetRequest.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Requests { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Requests/ProducerRequest.cs b/clients/csharp/src/Kafka/Kafka.Client/Requests/ProducerRequest.cs index 38ea902f4fe..832875325a0 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Requests/ProducerRequest.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Requests/ProducerRequest.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Requests { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Requests/RequestTypes.cs b/clients/csharp/src/Kafka/Kafka.Client/Requests/RequestTypes.cs index 340388cc9bc..38df68a50b8 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Requests/RequestTypes.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Requests/RequestTypes.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Requests { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Serialization/DefaultEncoder.cs b/clients/csharp/src/Kafka/Kafka.Client/Serialization/DefaultEncoder.cs index 6758d57ccc2..d8b136e4d9c 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Serialization/DefaultEncoder.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Serialization/DefaultEncoder.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Serialization { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Serialization/IEncoder.cs b/clients/csharp/src/Kafka/Kafka.Client/Serialization/IEncoder.cs index c432a940c7e..533720d9cb6 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Serialization/IEncoder.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Serialization/IEncoder.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Serialization { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Serialization/IWritable.cs b/clients/csharp/src/Kafka/Kafka.Client/Serialization/IWritable.cs index d35d1d91943..2991583f3ac 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Serialization/IWritable.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Serialization/IWritable.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Serialization { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Serialization/KafkaBinaryReader.cs b/clients/csharp/src/Kafka/Kafka.Client/Serialization/KafkaBinaryReader.cs index 6232dfa5091..25d19836f52 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Serialization/KafkaBinaryReader.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Serialization/KafkaBinaryReader.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Serialization { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Serialization/KafkaBinaryWriter.cs b/clients/csharp/src/Kafka/Kafka.Client/Serialization/KafkaBinaryWriter.cs index 419dce7469d..7b668cd22a3 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Serialization/KafkaBinaryWriter.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Serialization/KafkaBinaryWriter.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Serialization { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Serialization/StringEncoder.cs b/clients/csharp/src/Kafka/Kafka.Client/Serialization/StringEncoder.cs index 30629bd6659..e20392e6856 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Serialization/StringEncoder.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Serialization/StringEncoder.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Serialization { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Utils/BitWorks.cs b/clients/csharp/src/Kafka/Kafka.Client/Utils/BitWorks.cs index ef8a154d646..b759970ce29 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Utils/BitWorks.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Utils/BitWorks.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Utils { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Utils/Crc32Hasher.cs b/clients/csharp/src/Kafka/Kafka.Client/Utils/Crc32Hasher.cs index 551e4275173..b9a5912dd36 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Utils/Crc32Hasher.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Utils/Crc32Hasher.cs @@ -1,4 +1,20 @@ -// +/** + * 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. + */ + namespace Kafka.Client.Utils { using System; diff --git a/clients/csharp/src/Kafka/Kafka.Client/Utils/ErrorMapping.cs b/clients/csharp/src/Kafka/Kafka.Client/Utils/ErrorMapping.cs index 65e21b0e123..6595b472d70 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Utils/ErrorMapping.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Utils/ErrorMapping.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,8 @@ * 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. -*/ + */ + namespace Kafka.Client.Utils { public class ErrorMapping diff --git a/clients/csharp/src/Kafka/Kafka.Client/Utils/Extensions.cs b/clients/csharp/src/Kafka/Kafka.Client/Utils/Extensions.cs index 92ac2d4c924..098b8389fc2 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Utils/Extensions.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Utils/Extensions.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Utils { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Utils/Guard.cs b/clients/csharp/src/Kafka/Kafka.Client/Utils/Guard.cs index 90522e7d9ce..d89bcd98e07 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Utils/Guard.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Utils/Guard.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Utils { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Utils/KafkaScheduler.cs b/clients/csharp/src/Kafka/Kafka.Client/Utils/KafkaScheduler.cs index a9f35d114e2..c261b7d777d 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Utils/KafkaScheduler.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Utils/KafkaScheduler.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Utils { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Utils/ReflectionHelper.cs b/clients/csharp/src/Kafka/Kafka.Client/Utils/ReflectionHelper.cs index 8185b7b127b..67bb48dad0d 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Utils/ReflectionHelper.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Utils/ReflectionHelper.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Utils { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Utils/ZKGroupDirs.cs b/clients/csharp/src/Kafka/Kafka.Client/Utils/ZKGroupDirs.cs index d9c3bd575eb..7a871e6d788 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Utils/ZKGroupDirs.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Utils/ZKGroupDirs.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,8 @@ * 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. -*/ + */ + namespace Kafka.Client.Utils { internal class ZKGroupDirs diff --git a/clients/csharp/src/Kafka/Kafka.Client/Utils/ZKGroupTopicDirs.cs b/clients/csharp/src/Kafka/Kafka.Client/Utils/ZKGroupTopicDirs.cs index 1810b84d1a5..4ff626bcba8 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Utils/ZKGroupTopicDirs.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Utils/ZKGroupTopicDirs.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Utils { diff --git a/clients/csharp/src/Kafka/Kafka.Client/Utils/ZkUtils.cs b/clients/csharp/src/Kafka/Kafka.Client/Utils/ZkUtils.cs index e2dffd06d0d..18202c6dcae 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/Utils/ZkUtils.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/Utils/ZkUtils.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Utils { diff --git a/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperAwareKafkaClientBase.cs b/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperAwareKafkaClientBase.cs index 83201f78999..ff6a67603be 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperAwareKafkaClientBase.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperAwareKafkaClientBase.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client { diff --git a/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ChildChangedEventItem.cs b/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ChildChangedEventItem.cs index c5662276b3b..7188474cc25 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ChildChangedEventItem.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ChildChangedEventItem.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.ZooKeeperIntegration.Events { diff --git a/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/DataChangedEventItem.cs b/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/DataChangedEventItem.cs index 4dbdf0b7fd3..d7ee9047082 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/DataChangedEventItem.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/DataChangedEventItem.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.ZooKeeperIntegration.Events { diff --git a/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ZooKeeperChildChangedEventArgs.cs b/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ZooKeeperChildChangedEventArgs.cs index 22f0040307c..89c2df40bdb 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ZooKeeperChildChangedEventArgs.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ZooKeeperChildChangedEventArgs.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.ZooKeeperIntegration.Events { diff --git a/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ZooKeeperDataChangedEventArgs.cs b/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ZooKeeperDataChangedEventArgs.cs index 6b0b3541d52..e8c6651b442 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ZooKeeperDataChangedEventArgs.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ZooKeeperDataChangedEventArgs.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.ZooKeeperIntegration.Events { diff --git a/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ZooKeeperEventArgs.cs b/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ZooKeeperEventArgs.cs index 50d6d3b1078..3e329cbaf70 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ZooKeeperEventArgs.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ZooKeeperEventArgs.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.ZooKeeperIntegration.Events { diff --git a/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ZooKeeperEventTypes.cs b/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ZooKeeperEventTypes.cs index 13576ba4c5f..8ee8025ec15 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ZooKeeperEventTypes.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ZooKeeperEventTypes.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.ZooKeeperIntegration.Events { diff --git a/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ZooKeeperSessionCreatedEventArgs.cs b/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ZooKeeperSessionCreatedEventArgs.cs index 8ae71ffbcf3..04196793d6f 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ZooKeeperSessionCreatedEventArgs.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ZooKeeperSessionCreatedEventArgs.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.ZooKeeperIntegration.Events { diff --git a/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ZooKeeperStateChangedEventArgs.cs b/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ZooKeeperStateChangedEventArgs.cs index 7ac15ac503e..7228fc0c0b3 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ZooKeeperStateChangedEventArgs.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ZooKeeperStateChangedEventArgs.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.ZooKeeperIntegration.Events { diff --git a/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/IZooKeeperClient.cs b/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/IZooKeeperClient.cs index 52e95b42a77..8605aedb195 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/IZooKeeperClient.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/IZooKeeperClient.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.ZooKeeperIntegration { diff --git a/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/IZooKeeperConnection.cs b/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/IZooKeeperConnection.cs index be7a1713b63..3252856741e 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/IZooKeeperConnection.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/IZooKeeperConnection.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.ZooKeeperIntegration { diff --git a/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/IZooKeeperSerializer.cs b/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/IZooKeeperSerializer.cs index 2e0b7242e07..3340a94b745 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/IZooKeeperSerializer.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/IZooKeeperSerializer.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.ZooKeeperIntegration { diff --git a/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Listeners/BrokerTopicsListener.cs b/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Listeners/BrokerTopicsListener.cs index f2b50016ddf..04f53bfe302 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Listeners/BrokerTopicsListener.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Listeners/BrokerTopicsListener.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.ZooKeeperIntegration.Listeners { diff --git a/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Listeners/IZooKeeperChildListener.cs b/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Listeners/IZooKeeperChildListener.cs index a31d168b70d..0448b577357 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Listeners/IZooKeeperChildListener.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Listeners/IZooKeeperChildListener.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.ZooKeeperIntegration.Listeners { diff --git a/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Listeners/IZooKeeperDataListener.cs b/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Listeners/IZooKeeperDataListener.cs index ac566141a40..2e15ab42232 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Listeners/IZooKeeperDataListener.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Listeners/IZooKeeperDataListener.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.ZooKeeperIntegration.Listeners { diff --git a/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Listeners/IZooKeeperStateListener.cs b/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Listeners/IZooKeeperStateListener.cs index e7317582587..8a46c1d29b5 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Listeners/IZooKeeperStateListener.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Listeners/IZooKeeperStateListener.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.ZooKeeperIntegration.Listeners { diff --git a/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Listeners/ZKRebalancerListener.cs b/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Listeners/ZKRebalancerListener.cs index 234ca1ef7cb..bbea32248af 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Listeners/ZKRebalancerListener.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Listeners/ZKRebalancerListener.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.ZooKeeperIntegration.Listeners { diff --git a/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Listeners/ZKSessionExpireListener.cs b/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Listeners/ZKSessionExpireListener.cs index 262f20157dc..fb069380f48 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Listeners/ZKSessionExpireListener.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Listeners/ZKSessionExpireListener.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.ZooKeeperIntegration.Listeners { diff --git a/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/ZooKeeperClient.cs b/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/ZooKeeperClient.cs index 3bc23100692..d89740af0e4 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/ZooKeeperClient.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/ZooKeeperClient.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.ZooKeeperIntegration { diff --git a/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/ZooKeeperConnection.cs b/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/ZooKeeperConnection.cs index 9932df399da..70c349b001a 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/ZooKeeperConnection.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/ZooKeeperConnection.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.ZooKeeperIntegration { diff --git a/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/ZooKeeperStringSerializer.cs b/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/ZooKeeperStringSerializer.cs index eeb1cc72772..bbe54a47632 100644 --- a/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/ZooKeeperStringSerializer.cs +++ b/clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/ZooKeeperStringSerializer.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.ZooKeeperIntegration { diff --git a/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ConsumerRebalancingTests.cs b/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ConsumerRebalancingTests.cs index de16db8b433..0ef4f1f48f5 100644 --- a/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ConsumerRebalancingTests.cs +++ b/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ConsumerRebalancingTests.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.IntegrationTests { diff --git a/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ConsumerTests.cs b/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ConsumerTests.cs index 2d53b8b86c4..ced9a105dc9 100644 --- a/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ConsumerTests.cs +++ b/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ConsumerTests.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.IntegrationTests { diff --git a/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/IntegrationFixtureBase.cs b/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/IntegrationFixtureBase.cs index 553c0660ebc..77a1b629926 100644 --- a/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/IntegrationFixtureBase.cs +++ b/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/IntegrationFixtureBase.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.IntegrationTests { diff --git a/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/KafkaIntegrationTest.cs b/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/KafkaIntegrationTest.cs index 0c2f8164bff..9095453c5a7 100644 --- a/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/KafkaIntegrationTest.cs +++ b/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/KafkaIntegrationTest.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.IntegrationTests { diff --git a/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/MockAlwaysZeroPartitioner.cs b/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/MockAlwaysZeroPartitioner.cs index 148135d4e80..f2a18b5215b 100644 --- a/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/MockAlwaysZeroPartitioner.cs +++ b/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/MockAlwaysZeroPartitioner.cs @@ -1,7 +1,20 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; +/** + * 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. + */ + using Kafka.Client.Producers.Partitioning; namespace Kafka.Client.IntegrationTests diff --git a/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ProducerTests.cs b/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ProducerTests.cs index 11621676714..0a3743c71fb 100644 --- a/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ProducerTests.cs +++ b/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ProducerTests.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.IntegrationTests { diff --git a/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/Properties/AssemblyInfo.cs b/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/Properties/AssemblyInfo.cs index 7dc8ec3a5b5..ab036b25c9a 100644 --- a/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/Properties/AssemblyInfo.cs +++ b/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/Properties/AssemblyInfo.cs @@ -1,4 +1,21 @@ -using System.Reflection; +/** + * 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. + */ + +using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/TestHelper.cs b/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/TestHelper.cs index fc53f347e5c..cb1784de838 100644 --- a/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/TestHelper.cs +++ b/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/TestHelper.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.IntegrationTests { diff --git a/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/TestMultipleBrokersHelper.cs b/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/TestMultipleBrokersHelper.cs index f371577ee5c..ba3a45bd378 100644 --- a/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/TestMultipleBrokersHelper.cs +++ b/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/TestMultipleBrokersHelper.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.IntegrationTests { diff --git a/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/TestsSetup.cs b/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/TestsSetup.cs index b9359fc77a3..c25eef92dbe 100644 --- a/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/TestsSetup.cs +++ b/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/TestsSetup.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.IntegrationTests { diff --git a/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ZKBrokerPartitionInfoTests.cs b/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ZKBrokerPartitionInfoTests.cs index 4c95d5a61a1..e497f953f98 100644 --- a/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ZKBrokerPartitionInfoTests.cs +++ b/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ZKBrokerPartitionInfoTests.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.IntegrationTests { diff --git a/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ZooKeeperAwareProducerTests.cs b/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ZooKeeperAwareProducerTests.cs index f57ebd3c5f7..f1a1a99f449 100644 --- a/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ZooKeeperAwareProducerTests.cs +++ b/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ZooKeeperAwareProducerTests.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.IntegrationTests { diff --git a/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ZooKeeperClientTests.cs b/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ZooKeeperClientTests.cs index 4b098122687..9c2d5438963 100644 --- a/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ZooKeeperClientTests.cs +++ b/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ZooKeeperClientTests.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.IntegrationTests { diff --git a/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ZooKeeperConnectionTests.cs b/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ZooKeeperConnectionTests.cs index 82a2feeb07e..4dbafe33714 100644 --- a/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ZooKeeperConnectionTests.cs +++ b/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ZooKeeperConnectionTests.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.IntegrationTests { diff --git a/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/MessageSetTests.cs b/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/MessageSetTests.cs index d5ec45d2966..957b6edd73f 100644 --- a/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/MessageSetTests.cs +++ b/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/MessageSetTests.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Tests { diff --git a/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/MessageTests.cs b/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/MessageTests.cs index bf54dfe048c..64563e86d6e 100644 --- a/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/MessageTests.cs +++ b/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/MessageTests.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Tests { diff --git a/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Producers/PartitioningTests.cs b/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Producers/PartitioningTests.cs index 3497ea90111..aed8c56ab81 100644 --- a/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Producers/PartitioningTests.cs +++ b/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Producers/PartitioningTests.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Tests.Producers { diff --git a/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Request/FetchRequestTests.cs b/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Request/FetchRequestTests.cs index 756e952db83..ab600da8d2b 100644 --- a/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Request/FetchRequestTests.cs +++ b/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Request/FetchRequestTests.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Tests.Request { diff --git a/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Request/MultiFetchRequestTests.cs b/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Request/MultiFetchRequestTests.cs index 79fc7bca82e..600254b5789 100644 --- a/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Request/MultiFetchRequestTests.cs +++ b/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Request/MultiFetchRequestTests.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Tests.Request { diff --git a/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Request/MultiProducerRequestTests.cs b/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Request/MultiProducerRequestTests.cs index f5ad310a737..08985aa2c7f 100644 --- a/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Request/MultiProducerRequestTests.cs +++ b/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Request/MultiProducerRequestTests.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Tests.Request { diff --git a/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Request/OffsetRequestTests.cs b/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Request/OffsetRequestTests.cs index 996e928026f..c451fcd7665 100644 --- a/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Request/OffsetRequestTests.cs +++ b/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Request/OffsetRequestTests.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Tests.Request { diff --git a/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Request/ProducerRequestTests.cs b/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Request/ProducerRequestTests.cs index fdfc157ccc0..1998a93bf1b 100644 --- a/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Request/ProducerRequestTests.cs +++ b/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Request/ProducerRequestTests.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Tests.Request { diff --git a/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Util/BitWorksTests.cs b/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Util/BitWorksTests.cs index fd27d385b7e..9cd23ec0f12 100644 --- a/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Util/BitWorksTests.cs +++ b/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Util/BitWorksTests.cs @@ -1,9 +1,10 @@ -/* - * Copyright 2011 LinkedIn - * - * Licensed 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 +/** + * 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 * @@ -12,7 +13,7 @@ * 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. -*/ + */ namespace Kafka.Client.Tests.Util {