diff --git clients/csharp/src/Kafka/Kafka.Client/Cfg/AsyncProducerConfig.cs clients/csharp/src/Kafka/Kafka.Client/Cfg/AsyncProducerConfig.cs index b27ea2c..c0fc2b4 100644 --- clients/csharp/src/Kafka/Kafka.Client/Cfg/AsyncProducerConfig.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Cfg/BrokerPartitionInfo.cs clients/csharp/src/Kafka/Kafka.Client/Cfg/BrokerPartitionInfo.cs index fecd9b1..44a70bc 100644 --- clients/csharp/src/Kafka/Kafka.Client/Cfg/BrokerPartitionInfo.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Cfg/BrokerPartitionInfoCollection.cs clients/csharp/src/Kafka/Kafka.Client/Cfg/BrokerPartitionInfoCollection.cs index 2c69df1..5dbed5e 100644 --- clients/csharp/src/Kafka/Kafka.Client/Cfg/BrokerPartitionInfoCollection.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Cfg/Consumer.cs clients/csharp/src/Kafka/Kafka.Client/Cfg/Consumer.cs index 2746ac8..5ba8145 100644 --- clients/csharp/src/Kafka/Kafka.Client/Cfg/Consumer.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Cfg/ConsumerConfig.cs clients/csharp/src/Kafka/Kafka.Client/Cfg/ConsumerConfig.cs index 9dc1e85..eacf407 100644 --- clients/csharp/src/Kafka/Kafka.Client/Cfg/ConsumerConfig.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Cfg/IAsyncProducerConfigShared.cs clients/csharp/src/Kafka/Kafka.Client/Cfg/IAsyncProducerConfigShared.cs index 39f7fad..7de5736 100644 --- clients/csharp/src/Kafka/Kafka.Client/Cfg/IAsyncProducerConfigShared.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Cfg/ISyncProducerConfigShared.cs clients/csharp/src/Kafka/Kafka.Client/Cfg/ISyncProducerConfigShared.cs index 589d3aa..36b10c1 100644 --- clients/csharp/src/Kafka/Kafka.Client/Cfg/ISyncProducerConfigShared.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Cfg/KafkaClientConfiguration.cs clients/csharp/src/Kafka/Kafka.Client/Cfg/KafkaClientConfiguration.cs index 6f1a768..db8a664 100644 --- clients/csharp/src/Kafka/Kafka.Client/Cfg/KafkaClientConfiguration.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Cfg/KafkaServer.cs clients/csharp/src/Kafka/Kafka.Client/Cfg/KafkaServer.cs index 04bb4b7..e3c3af2 100644 --- clients/csharp/src/Kafka/Kafka.Client/Cfg/KafkaServer.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Cfg/ProducerConfig.cs clients/csharp/src/Kafka/Kafka.Client/Cfg/ProducerConfig.cs index 4555ed4..d2c0b8a 100644 --- clients/csharp/src/Kafka/Kafka.Client/Cfg/ProducerConfig.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Cfg/SyncProducerConfig.cs clients/csharp/src/Kafka/Kafka.Client/Cfg/SyncProducerConfig.cs index 68015ec..f88c301 100644 --- clients/csharp/src/Kafka/Kafka.Client/Cfg/SyncProducerConfig.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Cfg/ZKConfig.cs clients/csharp/src/Kafka/Kafka.Client/Cfg/ZKConfig.cs index 542e87b..044279f 100644 --- clients/csharp/src/Kafka/Kafka.Client/Cfg/ZKConfig.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Cfg/ZooKeeperServers.cs clients/csharp/src/Kafka/Kafka.Client/Cfg/ZooKeeperServers.cs index d472a02..1e357b1 100644 --- clients/csharp/src/Kafka/Kafka.Client/Cfg/ZooKeeperServers.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Cluster/Broker.cs clients/csharp/src/Kafka/Kafka.Client/Cluster/Broker.cs index e4d9294..fd57147 100644 --- clients/csharp/src/Kafka/Kafka.Client/Cluster/Broker.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Cluster/Cluster.cs clients/csharp/src/Kafka/Kafka.Client/Cluster/Cluster.cs index f3cee85..eca7b30 100644 --- clients/csharp/src/Kafka/Kafka.Client/Cluster/Cluster.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Cluster/Partition.cs clients/csharp/src/Kafka/Kafka.Client/Cluster/Partition.cs index 8a46075..a7164ed 100644 --- clients/csharp/src/Kafka/Kafka.Client/Cluster/Partition.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Consumers/Consumer.cs clients/csharp/src/Kafka/Kafka.Client/Consumers/Consumer.cs index f156c5f..93da697 100644 --- clients/csharp/src/Kafka/Kafka.Client/Consumers/Consumer.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Consumers/ConsumerIterator.cs clients/csharp/src/Kafka/Kafka.Client/Consumers/ConsumerIterator.cs index edc645d..5a0276b 100644 --- clients/csharp/src/Kafka/Kafka.Client/Consumers/ConsumerIterator.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Consumers/ConsumerIteratorState.cs clients/csharp/src/Kafka/Kafka.Client/Consumers/ConsumerIteratorState.cs index 5409738..7da6e29 100644 --- clients/csharp/src/Kafka/Kafka.Client/Consumers/ConsumerIteratorState.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Consumers/FetchedDataChunk.cs clients/csharp/src/Kafka/Kafka.Client/Consumers/FetchedDataChunk.cs index 9df9b70..7e20b96 100644 --- clients/csharp/src/Kafka/Kafka.Client/Consumers/FetchedDataChunk.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Consumers/Fetcher.cs clients/csharp/src/Kafka/Kafka.Client/Consumers/Fetcher.cs index 4852ac1..5011fc4 100644 --- clients/csharp/src/Kafka/Kafka.Client/Consumers/Fetcher.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Consumers/FetcherRunnable.cs clients/csharp/src/Kafka/Kafka.Client/Consumers/FetcherRunnable.cs index 7988b1c..b3db2ad 100644 --- clients/csharp/src/Kafka/Kafka.Client/Consumers/FetcherRunnable.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Consumers/IConsumer.cs clients/csharp/src/Kafka/Kafka.Client/Consumers/IConsumer.cs index dfd3755..e77083a 100644 --- clients/csharp/src/Kafka/Kafka.Client/Consumers/IConsumer.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Consumers/IConsumerConnector.cs clients/csharp/src/Kafka/Kafka.Client/Consumers/IConsumerConnector.cs index 53f16df..9413f43 100644 --- clients/csharp/src/Kafka/Kafka.Client/Consumers/IConsumerConnector.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Consumers/KafkaMessageStream.cs clients/csharp/src/Kafka/Kafka.Client/Consumers/KafkaMessageStream.cs index 3da9cc2..a7c9aff 100644 --- clients/csharp/src/Kafka/Kafka.Client/Consumers/KafkaMessageStream.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Consumers/PartitionTopicInfo.cs clients/csharp/src/Kafka/Kafka.Client/Consumers/PartitionTopicInfo.cs index 245c652..9617e08 100644 --- clients/csharp/src/Kafka/Kafka.Client/Consumers/PartitionTopicInfo.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Consumers/TopicCount.cs clients/csharp/src/Kafka/Kafka.Client/Consumers/TopicCount.cs index 724f51a..3d97567 100644 --- clients/csharp/src/Kafka/Kafka.Client/Consumers/TopicCount.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Consumers/ZookeeperConsumerConnector.cs clients/csharp/src/Kafka/Kafka.Client/Consumers/ZookeeperConsumerConnector.cs index df11485..3485a14 100644 --- clients/csharp/src/Kafka/Kafka.Client/Consumers/ZookeeperConsumerConnector.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Exceptions/ConsumerTimeoutException.cs clients/csharp/src/Kafka/Kafka.Client/Exceptions/ConsumerTimeoutException.cs index 4049b13..3930d30 100644 --- clients/csharp/src/Kafka/Kafka.Client/Exceptions/ConsumerTimeoutException.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Exceptions/KafkaException.cs clients/csharp/src/Kafka/Kafka.Client/Exceptions/KafkaException.cs index d73aac1..3721bc9 100644 --- clients/csharp/src/Kafka/Kafka.Client/Exceptions/KafkaException.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Exceptions/MessageSizeTooLargeException.cs clients/csharp/src/Kafka/Kafka.Client/Exceptions/MessageSizeTooLargeException.cs index fd766d0..9cc17f8 100644 --- clients/csharp/src/Kafka/Kafka.Client/Exceptions/MessageSizeTooLargeException.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Exceptions/ZKRebalancerException.cs clients/csharp/src/Kafka/Kafka.Client/Exceptions/ZKRebalancerException.cs index f28b2ad..f8fa71c 100644 --- clients/csharp/src/Kafka/Kafka.Client/Exceptions/ZKRebalancerException.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Exceptions/ZooKeeperException.cs clients/csharp/src/Kafka/Kafka.Client/Exceptions/ZooKeeperException.cs index e43e0f4..3b94a3d 100644 --- clients/csharp/src/Kafka/Kafka.Client/Exceptions/ZooKeeperException.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Exceptions/ZooKeeperTimeoutException.cs clients/csharp/src/Kafka/Kafka.Client/Exceptions/ZooKeeperTimeoutException.cs index 031f549..c922dfc 100644 --- clients/csharp/src/Kafka/Kafka.Client/Exceptions/ZooKeeperTimeoutException.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/KafkaClientBase.cs clients/csharp/src/Kafka/Kafka.Client/KafkaClientBase.cs index 8720d3e..ec0663a 100644 --- clients/csharp/src/Kafka/Kafka.Client/KafkaClientBase.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/KafkaConnection.cs clients/csharp/src/Kafka/Kafka.Client/KafkaConnection.cs index dbe31e1..a0dbfdc 100644 --- clients/csharp/src/Kafka/Kafka.Client/KafkaConnection.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Messages/BoundedBuffer.cs clients/csharp/src/Kafka/Kafka.Client/Messages/BoundedBuffer.cs index 6c542dc..91d17a7 100644 --- clients/csharp/src/Kafka/Kafka.Client/Messages/BoundedBuffer.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Messages/BufferedMessageSet.cs clients/csharp/src/Kafka/Kafka.Client/Messages/BufferedMessageSet.cs index 27a0851..8cdb17d 100644 --- clients/csharp/src/Kafka/Kafka.Client/Messages/BufferedMessageSet.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Messages/Message.cs clients/csharp/src/Kafka/Kafka.Client/Messages/Message.cs index f2cc2ac..3e6f002 100644 --- clients/csharp/src/Kafka/Kafka.Client/Messages/Message.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Messages/MessageSet.cs clients/csharp/src/Kafka/Kafka.Client/Messages/MessageSet.cs index a62ee0f..e05cb6e 100644 --- clients/csharp/src/Kafka/Kafka.Client/Messages/MessageSet.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Producers/Async/AsyncProducer.cs clients/csharp/src/Kafka/Kafka.Client/Producers/Async/AsyncProducer.cs index e186d3e..0969655 100644 --- clients/csharp/src/Kafka/Kafka.Client/Producers/Async/AsyncProducer.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Producers/Async/AsyncProducerPool.cs clients/csharp/src/Kafka/Kafka.Client/Producers/Async/AsyncProducerPool.cs index 2b73792..ef2af2a 100644 --- clients/csharp/src/Kafka/Kafka.Client/Producers/Async/AsyncProducerPool.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Producers/Async/IAsyncProducer.cs clients/csharp/src/Kafka/Kafka.Client/Producers/Async/IAsyncProducer.cs index 26a7999..b3c15e0 100644 --- clients/csharp/src/Kafka/Kafka.Client/Producers/Async/IAsyncProducer.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Producers/Async/ICallbackHandler.cs clients/csharp/src/Kafka/Kafka.Client/Producers/Async/ICallbackHandler.cs index efbbdd7..95e80cf 100644 --- clients/csharp/src/Kafka/Kafka.Client/Producers/Async/ICallbackHandler.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Producers/Async/MessageSent.cs clients/csharp/src/Kafka/Kafka.Client/Producers/Async/MessageSent.cs index 8d0f8c0..6cc7dfa 100644 --- clients/csharp/src/Kafka/Kafka.Client/Producers/Async/MessageSent.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Producers/IProducer.cs clients/csharp/src/Kafka/Kafka.Client/Producers/IProducer.cs index da14827..060ccc6 100644 --- clients/csharp/src/Kafka/Kafka.Client/Producers/IProducer.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Producers/IProducerPool.cs clients/csharp/src/Kafka/Kafka.Client/Producers/IProducerPool.cs index ef4fed0..c052fb1 100644 --- clients/csharp/src/Kafka/Kafka.Client/Producers/IProducerPool.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Producers/Partitioning/ConfigBrokerPartitionInfo.cs clients/csharp/src/Kafka/Kafka.Client/Producers/Partitioning/ConfigBrokerPartitionInfo.cs index af7d0cb..3c6ec4e 100644 --- clients/csharp/src/Kafka/Kafka.Client/Producers/Partitioning/ConfigBrokerPartitionInfo.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Producers/Partitioning/DefaultPartitioner.cs clients/csharp/src/Kafka/Kafka.Client/Producers/Partitioning/DefaultPartitioner.cs index afb86aa..4d66225 100644 --- clients/csharp/src/Kafka/Kafka.Client/Producers/Partitioning/DefaultPartitioner.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Producers/Partitioning/IBrokerPartitionInfo.cs clients/csharp/src/Kafka/Kafka.Client/Producers/Partitioning/IBrokerPartitionInfo.cs index 05ae0a1..25ee080 100644 --- clients/csharp/src/Kafka/Kafka.Client/Producers/Partitioning/IBrokerPartitionInfo.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Producers/Partitioning/IPartitioner.cs clients/csharp/src/Kafka/Kafka.Client/Producers/Partitioning/IPartitioner.cs index 6401bce..34b5666 100644 --- clients/csharp/src/Kafka/Kafka.Client/Producers/Partitioning/IPartitioner.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Producers/Partitioning/ZKBrokerPartitionInfo.cs clients/csharp/src/Kafka/Kafka.Client/Producers/Partitioning/ZKBrokerPartitionInfo.cs index e6b7c0c..726a4aa 100644 --- clients/csharp/src/Kafka/Kafka.Client/Producers/Partitioning/ZKBrokerPartitionInfo.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Producers/Producer.StrMsg.cs clients/csharp/src/Kafka/Kafka.Client/Producers/Producer.StrMsg.cs index ae8a61c..ad4ae60 100644 --- clients/csharp/src/Kafka/Kafka.Client/Producers/Producer.StrMsg.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Producers/Producer.cs clients/csharp/src/Kafka/Kafka.Client/Producers/Producer.cs index 1c9812e..1ff05cf 100644 --- clients/csharp/src/Kafka/Kafka.Client/Producers/Producer.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Producers/ProducerData.cs clients/csharp/src/Kafka/Kafka.Client/Producers/ProducerData.cs index 4caa8c4..2c299c8 100644 --- clients/csharp/src/Kafka/Kafka.Client/Producers/ProducerData.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Producers/ProducerPool.cs clients/csharp/src/Kafka/Kafka.Client/Producers/ProducerPool.cs index e3957f9..9317dfe 100644 --- clients/csharp/src/Kafka/Kafka.Client/Producers/ProducerPool.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Producers/ProducerPoolData.cs clients/csharp/src/Kafka/Kafka.Client/Producers/ProducerPoolData.cs index f19951e..fab9559 100644 --- clients/csharp/src/Kafka/Kafka.Client/Producers/ProducerPoolData.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Producers/ProducerTypes.cs clients/csharp/src/Kafka/Kafka.Client/Producers/ProducerTypes.cs index 044a896..428c606 100644 --- clients/csharp/src/Kafka/Kafka.Client/Producers/ProducerTypes.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Producers/Sync/ISyncProducer.cs clients/csharp/src/Kafka/Kafka.Client/Producers/Sync/ISyncProducer.cs index 96c44e1..e6e6a28 100644 --- clients/csharp/src/Kafka/Kafka.Client/Producers/Sync/ISyncProducer.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Producers/Sync/SyncProducer.cs clients/csharp/src/Kafka/Kafka.Client/Producers/Sync/SyncProducer.cs index 086cb4c..8e803aa 100644 --- clients/csharp/src/Kafka/Kafka.Client/Producers/Sync/SyncProducer.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Producers/Sync/SyncProducerPool.cs clients/csharp/src/Kafka/Kafka.Client/Producers/Sync/SyncProducerPool.cs index c60a509..fd1802e 100644 --- clients/csharp/src/Kafka/Kafka.Client/Producers/Sync/SyncProducerPool.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/RequestContext.cs clients/csharp/src/Kafka/Kafka.Client/RequestContext.cs index 9a8955d..80fc66b 100644 --- clients/csharp/src/Kafka/Kafka.Client/RequestContext.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Requests/AbstractRequest.cs clients/csharp/src/Kafka/Kafka.Client/Requests/AbstractRequest.cs index e5071be..eacfe10 100644 --- clients/csharp/src/Kafka/Kafka.Client/Requests/AbstractRequest.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Requests/FetchRequest.cs clients/csharp/src/Kafka/Kafka.Client/Requests/FetchRequest.cs index d80b24c..999778f 100644 --- clients/csharp/src/Kafka/Kafka.Client/Requests/FetchRequest.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Requests/MultiFetchRequest.cs clients/csharp/src/Kafka/Kafka.Client/Requests/MultiFetchRequest.cs index 5ebadd4..4cd2f77 100644 --- clients/csharp/src/Kafka/Kafka.Client/Requests/MultiFetchRequest.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Requests/MultiProducerRequest.cs clients/csharp/src/Kafka/Kafka.Client/Requests/MultiProducerRequest.cs index f688354..6088420 100644 --- clients/csharp/src/Kafka/Kafka.Client/Requests/MultiProducerRequest.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Requests/OffsetRequest.cs clients/csharp/src/Kafka/Kafka.Client/Requests/OffsetRequest.cs index 65891fc..f498366 100644 --- clients/csharp/src/Kafka/Kafka.Client/Requests/OffsetRequest.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Requests/ProducerRequest.cs clients/csharp/src/Kafka/Kafka.Client/Requests/ProducerRequest.cs index 38ea902..8328753 100644 --- clients/csharp/src/Kafka/Kafka.Client/Requests/ProducerRequest.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Requests/RequestTypes.cs clients/csharp/src/Kafka/Kafka.Client/Requests/RequestTypes.cs index 340388c..38df68a 100644 --- clients/csharp/src/Kafka/Kafka.Client/Requests/RequestTypes.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Serialization/DefaultEncoder.cs clients/csharp/src/Kafka/Kafka.Client/Serialization/DefaultEncoder.cs index 6758d57..d8b136e 100644 --- clients/csharp/src/Kafka/Kafka.Client/Serialization/DefaultEncoder.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Serialization/IEncoder.cs clients/csharp/src/Kafka/Kafka.Client/Serialization/IEncoder.cs index c432a94..533720d 100644 --- clients/csharp/src/Kafka/Kafka.Client/Serialization/IEncoder.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Serialization/IWritable.cs clients/csharp/src/Kafka/Kafka.Client/Serialization/IWritable.cs index d35d1d9..2991583 100644 --- clients/csharp/src/Kafka/Kafka.Client/Serialization/IWritable.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Serialization/KafkaBinaryReader.cs clients/csharp/src/Kafka/Kafka.Client/Serialization/KafkaBinaryReader.cs index 6232dfa..25d1983 100644 --- clients/csharp/src/Kafka/Kafka.Client/Serialization/KafkaBinaryReader.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Serialization/KafkaBinaryWriter.cs clients/csharp/src/Kafka/Kafka.Client/Serialization/KafkaBinaryWriter.cs index 419dce7..7b668cd 100644 --- clients/csharp/src/Kafka/Kafka.Client/Serialization/KafkaBinaryWriter.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Serialization/StringEncoder.cs clients/csharp/src/Kafka/Kafka.Client/Serialization/StringEncoder.cs index 30629bd..e20392e 100644 --- clients/csharp/src/Kafka/Kafka.Client/Serialization/StringEncoder.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Utils/BitWorks.cs clients/csharp/src/Kafka/Kafka.Client/Utils/BitWorks.cs index ef8a154..b759970 100644 --- clients/csharp/src/Kafka/Kafka.Client/Utils/BitWorks.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Utils/Crc32Hasher.cs clients/csharp/src/Kafka/Kafka.Client/Utils/Crc32Hasher.cs index 551e427..b9a5912 100644 --- clients/csharp/src/Kafka/Kafka.Client/Utils/Crc32Hasher.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Utils/ErrorMapping.cs clients/csharp/src/Kafka/Kafka.Client/Utils/ErrorMapping.cs index 65e21b0..6595b47 100644 --- clients/csharp/src/Kafka/Kafka.Client/Utils/ErrorMapping.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Utils/Extensions.cs clients/csharp/src/Kafka/Kafka.Client/Utils/Extensions.cs index 92ac2d4..098b838 100644 --- clients/csharp/src/Kafka/Kafka.Client/Utils/Extensions.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Utils/Guard.cs clients/csharp/src/Kafka/Kafka.Client/Utils/Guard.cs index 90522e7..d89bcd9 100644 --- clients/csharp/src/Kafka/Kafka.Client/Utils/Guard.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Utils/KafkaScheduler.cs clients/csharp/src/Kafka/Kafka.Client/Utils/KafkaScheduler.cs index a9f35d1..c261b7d 100644 --- clients/csharp/src/Kafka/Kafka.Client/Utils/KafkaScheduler.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Utils/ReflectionHelper.cs clients/csharp/src/Kafka/Kafka.Client/Utils/ReflectionHelper.cs index 8185b7b..67bb48d 100644 --- clients/csharp/src/Kafka/Kafka.Client/Utils/ReflectionHelper.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Utils/ZKGroupDirs.cs clients/csharp/src/Kafka/Kafka.Client/Utils/ZKGroupDirs.cs index d9c3bd5..7a871e6 100644 --- clients/csharp/src/Kafka/Kafka.Client/Utils/ZKGroupDirs.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Utils/ZKGroupTopicDirs.cs clients/csharp/src/Kafka/Kafka.Client/Utils/ZKGroupTopicDirs.cs index 1810b84..4ff626b 100644 --- clients/csharp/src/Kafka/Kafka.Client/Utils/ZKGroupTopicDirs.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/Utils/ZkUtils.cs clients/csharp/src/Kafka/Kafka.Client/Utils/ZkUtils.cs index e2dffd0..18202c6 100644 --- clients/csharp/src/Kafka/Kafka.Client/Utils/ZkUtils.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/ZooKeeperAwareKafkaClientBase.cs clients/csharp/src/Kafka/Kafka.Client/ZooKeeperAwareKafkaClientBase.cs index 83201f7..ff6a676 100644 --- clients/csharp/src/Kafka/Kafka.Client/ZooKeeperAwareKafkaClientBase.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ChildChangedEventItem.cs clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ChildChangedEventItem.cs index c566227..7188474 100644 --- clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ChildChangedEventItem.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/DataChangedEventItem.cs clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/DataChangedEventItem.cs index 4dbdf0b..d7ee904 100644 --- clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/DataChangedEventItem.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ZooKeeperChildChangedEventArgs.cs clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ZooKeeperChildChangedEventArgs.cs index 22f0040..89c2df4 100644 --- clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ZooKeeperChildChangedEventArgs.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ZooKeeperDataChangedEventArgs.cs clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ZooKeeperDataChangedEventArgs.cs index 6b0b354..e8c6651 100644 --- clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ZooKeeperDataChangedEventArgs.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ZooKeeperEventArgs.cs clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ZooKeeperEventArgs.cs index 50d6d3b..3e329cb 100644 --- clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ZooKeeperEventArgs.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ZooKeeperEventTypes.cs clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ZooKeeperEventTypes.cs index 13576ba..8ee8025 100644 --- clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ZooKeeperEventTypes.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ZooKeeperSessionCreatedEventArgs.cs clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ZooKeeperSessionCreatedEventArgs.cs index 8ae71ff..0419679 100644 --- clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ZooKeeperSessionCreatedEventArgs.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ZooKeeperStateChangedEventArgs.cs clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ZooKeeperStateChangedEventArgs.cs index 7ac15ac..7228fc0 100644 --- clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Events/ZooKeeperStateChangedEventArgs.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/IZooKeeperClient.cs clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/IZooKeeperClient.cs index 52e95b4..8605aed 100644 --- clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/IZooKeeperClient.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/IZooKeeperConnection.cs clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/IZooKeeperConnection.cs index be7a171..3252856 100644 --- clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/IZooKeeperConnection.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/IZooKeeperSerializer.cs clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/IZooKeeperSerializer.cs index 2e0b724..3340a94 100644 --- clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/IZooKeeperSerializer.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Listeners/BrokerTopicsListener.cs clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Listeners/BrokerTopicsListener.cs index f2b5001..04f53bf 100644 --- clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Listeners/BrokerTopicsListener.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Listeners/IZooKeeperChildListener.cs clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Listeners/IZooKeeperChildListener.cs index a31d168..0448b57 100644 --- clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Listeners/IZooKeeperChildListener.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Listeners/IZooKeeperDataListener.cs clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Listeners/IZooKeeperDataListener.cs index ac56614..2e15ab4 100644 --- clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Listeners/IZooKeeperDataListener.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Listeners/IZooKeeperStateListener.cs clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Listeners/IZooKeeperStateListener.cs index e731758..8a46c1d 100644 --- clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Listeners/IZooKeeperStateListener.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Listeners/ZKRebalancerListener.cs clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Listeners/ZKRebalancerListener.cs index 234ca1e..bbea322 100644 --- clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Listeners/ZKRebalancerListener.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Listeners/ZKSessionExpireListener.cs clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Listeners/ZKSessionExpireListener.cs index 262f201..fb06938 100644 --- clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/Listeners/ZKSessionExpireListener.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/ZooKeeperClient.cs clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/ZooKeeperClient.cs index 3bc2310..d89740a 100644 --- clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/ZooKeeperClient.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/ZooKeeperConnection.cs clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/ZooKeeperConnection.cs index 9932df3..70c349b 100644 --- clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/ZooKeeperConnection.cs +++ 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 clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/ZooKeeperStringSerializer.cs clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/ZooKeeperStringSerializer.cs index eeb1cc7..bbe54a4 100644 --- clients/csharp/src/Kafka/Kafka.Client/ZooKeeperIntegration/ZooKeeperStringSerializer.cs +++ 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 clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ConsumerRebalancingTests.cs clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ConsumerRebalancingTests.cs index de16db8..0ef4f1f 100644 --- clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ConsumerRebalancingTests.cs +++ 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 clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ConsumerTests.cs clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ConsumerTests.cs index 2d53b8b..ced9a10 100644 --- clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ConsumerTests.cs +++ 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 clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/IntegrationFixtureBase.cs clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/IntegrationFixtureBase.cs index 553c066..77a1b62 100644 --- clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/IntegrationFixtureBase.cs +++ 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 clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/KafkaIntegrationTest.cs clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/KafkaIntegrationTest.cs index 0c2f816..9095453 100644 --- clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/KafkaIntegrationTest.cs +++ 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 clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/MockAlwaysZeroPartitioner.cs clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/MockAlwaysZeroPartitioner.cs index 148135d..f2a18b5 100644 --- clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/MockAlwaysZeroPartitioner.cs +++ 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 clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ProducerTests.cs clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ProducerTests.cs index 1162167..0a3743c 100644 --- clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ProducerTests.cs +++ 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 clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/Properties/AssemblyInfo.cs clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/Properties/AssemblyInfo.cs index 7dc8ec3..ab036b2 100644 --- clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/Properties/AssemblyInfo.cs +++ 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 clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/TestHelper.cs clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/TestHelper.cs index fc53f34..cb1784d 100644 --- clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/TestHelper.cs +++ 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 clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/TestMultipleBrokersHelper.cs clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/TestMultipleBrokersHelper.cs index f371577..ba3a45b 100644 --- clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/TestMultipleBrokersHelper.cs +++ 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 clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/TestsSetup.cs clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/TestsSetup.cs index b9359fc..c25eef9 100644 --- clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/TestsSetup.cs +++ 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 clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ZKBrokerPartitionInfoTests.cs clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ZKBrokerPartitionInfoTests.cs index 4c95d5a..e497f95 100644 --- clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ZKBrokerPartitionInfoTests.cs +++ 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 clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ZooKeeperAwareProducerTests.cs clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ZooKeeperAwareProducerTests.cs index f57ebd3..f1a1a99 100644 --- clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ZooKeeperAwareProducerTests.cs +++ 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 clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ZooKeeperClientTests.cs clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ZooKeeperClientTests.cs index 4b09812..9c2d543 100644 --- clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ZooKeeperClientTests.cs +++ 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 clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ZooKeeperConnectionTests.cs clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ZooKeeperConnectionTests.cs index 82a2fee..4dbafe3 100644 --- clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/ZooKeeperConnectionTests.cs +++ 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 clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/MessageSetTests.cs clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/MessageSetTests.cs index d5ec45d..957b6ed 100644 --- clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/MessageSetTests.cs +++ 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 clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/MessageTests.cs clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/MessageTests.cs index bf54dfe..64563e8 100644 --- clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/MessageTests.cs +++ 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 clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Producers/PartitioningTests.cs clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Producers/PartitioningTests.cs index 3497ea9..aed8c56 100644 --- clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Producers/PartitioningTests.cs +++ 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 clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Request/FetchRequestTests.cs clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Request/FetchRequestTests.cs index 756e952..ab600da 100644 --- clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Request/FetchRequestTests.cs +++ 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 clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Request/MultiFetchRequestTests.cs clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Request/MultiFetchRequestTests.cs index 79fc7bc..600254b 100644 --- clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Request/MultiFetchRequestTests.cs +++ 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 clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Request/MultiProducerRequestTests.cs clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Request/MultiProducerRequestTests.cs index f5ad310..08985aa 100644 --- clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Request/MultiProducerRequestTests.cs +++ 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 clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Request/OffsetRequestTests.cs clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Request/OffsetRequestTests.cs index 996e928..c451fcd 100644 --- clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Request/OffsetRequestTests.cs +++ 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 clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Request/ProducerRequestTests.cs clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Request/ProducerRequestTests.cs index fdfc157..1998a93 100644 --- clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Request/ProducerRequestTests.cs +++ 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 clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Util/BitWorksTests.cs clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Util/BitWorksTests.cs index fd27d38..9cd23ec 100644 --- clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Util/BitWorksTests.cs +++ 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 {