<commit_before># .Net Kafka Client

This is an _experimental_ Kafka Client for .Net.

**Apache Kafka 0.8+ support:**

  * Branch: master
  * Producer: __NOT__ supported
  * SimpleConsumer: __somewhat__ supported 
  * Rebalancing Consumer: __NOT__ supported
  * Compression: __NOT__ supported
  * ZooKeeper: __NOT__ supported
  * Status: Experimental, under development

Plan is to start implement SimpleConsumer, Producer, Compression.

```c#
using Kafka.Client;

var kafkaClient = new KafkaClient("127.0.0.1", 9092, "DemoClient");

var consumer = new SimpleConsumer(kafkaClient, topic: "test");
foreach(var message in consumer.GetMessages())
{
	  //Consume the message
}
```<commit_msg>Update Readme with example for producer<commit_after># .Net Kafka Client

This is an _experimental_ Kafka Client for .Net.

**Apache Kafka 0.8+ support:**

  * Branch: master
  * Producer: __somewhat__ supported
  * SimpleConsumer: __somewhat__ supported 
  * Rebalancing Consumer: __NOT__ supported
  * Compression: __NOT__ supported
  * ZooKeeper: __NOT__ supported
  * Status: Experimental, under development

Plan is to start implement SimpleConsumer, Producer, Compression.

```c#
using Kafka.Client;

var kafkaClient = new KafkaClient("127.0.0.1", 9092, "DemoClient");

var consumer = new SimpleConsumer(kafkaClient, topic: "test");
foreach(var message in consumer.GetMessages())
{
	  //Consume the message
}
```

```c#
using Kafka.Client;

var kafkaClient = new KafkaClient("127.0.0.1", 9092, "DemoProducer");

var consumer = new SimpleProducer(kafkaClient);
simpleProducer.Send("test", 0, Encoding.UTF8.GetBytes("My message"));  //Send to topic:"test" partition:0
```
{'fraction_non_alphanumeric': 0.11311672683513839, 'fraction_numerical': 0.022262334536702767, 'mean_word_length': 5.047272727272727, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 3, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '844216', 'n_tokens_mistral': 557, 'n_tokens_neox': 513, 'n_words': 162}