Skip to content

Instantly share code, notes, and snippets.

@rfcardenas
rfcardenas / self-signed-certificate-with-custom-ca.md
Created September 18, 2018 23:33 — forked from fntlnz/self-signed-certificate-with-custom-ca.md
Self Signed Certificate with Custom Root CA

Create Root CA (Done once)

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl genrsa -des3 -out rootCA.key 4096

DEBUG KAFKA CONNECTOR

FIRST

Structure and build your connector source code by looking at one of the many Kafka Connectors available publicly (you'll find an extensive list available here: https://www.confluent.io/product/connectors/ ) Download the latest Confluent Open Source edition (>= 3.3.0) from https://www.confluent.io/download/

    Make your connector package available to Kafka Connect in one of the following ways:
        Store all your connector jar files (connector jar plus dependency jars excluding Connect API jars) to a location in your filesystem and enable plugin isolation by adding this location to the plugin.path property in the Connect worker properties. For instance, if your connector jars are stored in /opt/connectors/my-first-connector, you will set plugin.path=/opt/connectors in your worker's properties (see below).
@rfcardenas
rfcardenas / Controller.cs
Last active September 10, 2017 22:32
C#~memory multipart con campos de formulario , utilidad cargar archivos sin guardar en disco y acceder a formdata fields
sing System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
namespace WebApplication3.Controllers
{