Skip to content

Commit

Permalink
Rename package name to themeetgroup
Browse files Browse the repository at this point in the history
Change-Id: Id6214a0add10152bd5e67d27e2fcbb6f4e9e204b
  • Loading branch information
areimus committed Nov 19, 2020
1 parent 3e3856a commit 1cbce8d
Show file tree
Hide file tree
Showing 19 changed files with 38 additions and 42 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Converter to compose the Kafka message.

*Type:* String

*Default Value:* com.github.jcustenborder.kafka.connect.rabbitmq.source.data.MessageConverter
*Default Value:* com.github.themeetgroup.kafka.connect.rabbitmq.source.data.MessageConverter

The virtual host to use when connecting to the broker. See `ConnectionFactory.setVirtualHost(java.lang.String) <https://www.rabbitmq.com/releases/rabbitmq-java-client/current-javadoc/com/rabbitmq/client/ConnectionFactory.html#setVirtualHost-java.lang.String->`_
##### `rabbitmq.port`
Expand Down Expand Up @@ -189,7 +189,7 @@ This configuration is used typically along with [standalone mode](http://docs.co

```properties
name=RabbitMQSourceConnector1
connector.class=com.github.jcustenborder.kafka.connect.rabbitmq.source.RabbitMQSourceConnector
connector.class=com.github.themeetgroup.kafka.connect.rabbitmq.source.RabbitMQSourceConnector
tasks.max=1
kafka.topic=< Required Configuration >
rabbitmq.queue=< Required Configuration >
Expand All @@ -205,7 +205,7 @@ post the configuration to one the distributed connect worker(s).
{
"config" : {
"name" : "RabbitMQSourceConnector1",
"connector.class" : "com.github.jcustenborder.kafka.connect.rabbitmq.source.RabbitMQSourceConnector",
"connector.class" : "com.github.themeetgroup.kafka.connect.rabbitmq.source.RabbitMQSourceConnector",
"tasks.max" : "1",
"kafka.topic" : "< Required Configuration >",
"rabbitmq.queue" : "< Required Configuration >"
Expand Down Expand Up @@ -398,7 +398,7 @@ This configuration is used typically along with [standalone mode](http://docs.co

```properties
name=RabbitMQSinkConnector1
connector.class=com.github.jcustenborder.kafka.connect.rabbitmq.sink.RabbitMQSinkConnector
connector.class=com.github.themeetgroup.kafka.connect.rabbitmq.sink.RabbitMQSinkConnector
tasks.max=1
topics=< Required Configuration >
rabbitmq.exchange=< Required Configuration >
Expand All @@ -416,7 +416,7 @@ post the configuration to one the distributed connect worker(s).
{
"config" : {
"name" : "RabbitMQSinkConnector1",
"connector.class" : "com.github.jcustenborder.kafka.connect.rabbitmq.sink.RabbitMQSinkConnector",
"connector.class" : "com.github.themeetgroup.kafka.connect.rabbitmq.sink.RabbitMQSinkConnector",
"tasks.max" : "1",
"topics" : "< Required Configuration >",
"rabbitmq.exchange" : "< Required Configuration >",
Expand Down
10 changes: 3 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,9 @@
<goal>kafka-connect</goal>
</goals>
<configuration>
<ownerUsername>jcustenborder</ownerUsername>
<confluentControlCenterIntegration>true</confluentControlCenterIntegration>
<documentationUrl>https://jcustenborder.github.io/kafka-connect-documentation/</documentationUrl>
<ownerName>Jeremy Custenborder</ownerName>
<dockerNamespace>jcustenborder</dockerNamespace>
<ownerUsername>themeetgroup</ownerUsername>
<ownerName>The Meet Group</ownerName>
<dockerNamespace>themeetgroup</dockerNamespace>
<dockerName>kafka-connect-docker</dockerName>
<componentTypes>
<componentType>sink</componentType>
Expand All @@ -116,8 +114,6 @@
<tag>Messaging</tag>
</tags>
<title>Kafka Connect RabbitMQ</title>
<supportUrl>${project.issueManagement.url}</supportUrl>
<supportSummary>Support provided through community involvement.</supportSummary>
</configuration>
</execution>
</executions>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.github.jcustenborder.kafka.connect.rabbitmq;
package com.github.themeetgroup.kafka.connect.rabbitmq;

import com.rabbitmq.client.ConnectionFactory;
import org.apache.kafka.common.config.AbstractConfig;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.github.jcustenborder.kafka.connect.rabbitmq.sink;
package com.github.themeetgroup.kafka.connect.rabbitmq.sink;

import java.util.ArrayList;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
* limitations under the License.
*/

package com.github.jcustenborder.kafka.connect.rabbitmq.sink;
package com.github.themeetgroup.kafka.connect.rabbitmq.sink;

import java.util.Map;

import com.github.jcustenborder.kafka.connect.rabbitmq.CommonRabbitMQConnectorConfig;
import com.github.themeetgroup.kafka.connect.rabbitmq.CommonRabbitMQConnectorConfig;
import org.apache.kafka.common.config.ConfigDef;

import com.github.jcustenborder.kafka.connect.utils.template.StructTemplate;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.github.jcustenborder.kafka.connect.rabbitmq.sink;
package com.github.themeetgroup.kafka.connect.rabbitmq.sink;

import com.rabbitmq.client.AMQP;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.github.jcustenborder.kafka.connect.rabbitmq.sink;
package com.github.themeetgroup.kafka.connect.rabbitmq.sink;

import com.github.jcustenborder.kafka.connect.utils.VersionUtil;
import com.rabbitmq.client.Channel;
Expand All @@ -32,7 +32,7 @@
import java.util.Map;
import java.util.concurrent.TimeoutException;

import static com.github.jcustenborder.kafka.connect.rabbitmq.sink.RabbitMQSinkConnectorConfig.HEADER_CONF;
import static com.github.themeetgroup.kafka.connect.rabbitmq.sink.RabbitMQSinkConnectorConfig.HEADER_CONF;

public class RabbitMQSinkTask extends SinkTask {
private static final Logger log = LoggerFactory.getLogger(RabbitMQSinkTask.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.github.jcustenborder.kafka.connect.rabbitmq.source;
package com.github.themeetgroup.kafka.connect.rabbitmq.source;

import com.github.jcustenborder.kafka.connect.rabbitmq.source.data.SourceRecordBuilder;
import com.github.themeetgroup.kafka.connect.rabbitmq.source.data.SourceRecordBuilder;
import com.github.jcustenborder.kafka.connect.utils.data.SourceRecordConcurrentLinkedDeque;
import com.rabbitmq.client.AMQP;
import com.rabbitmq.client.Consumer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.github.jcustenborder.kafka.connect.rabbitmq.source;
package com.github.themeetgroup.kafka.connect.rabbitmq.source;

import com.github.jcustenborder.kafka.connect.utils.VersionUtil;
import com.github.jcustenborder.kafka.connect.utils.config.Description;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.github.jcustenborder.kafka.connect.rabbitmq.source;
package com.github.themeetgroup.kafka.connect.rabbitmq.source;

import com.github.jcustenborder.kafka.connect.rabbitmq.CommonRabbitMQConnectorConfig;
import com.github.themeetgroup.kafka.connect.rabbitmq.CommonRabbitMQConnectorConfig;
import org.apache.kafka.common.config.ConfigDef;

import java.util.List;
Expand All @@ -40,7 +40,7 @@ public class RabbitMQSourceConnectorConfig extends CommonRabbitMQConnectorConfig

public static final String MESSAGE_CONVERTER_CLASSNAME_CONF = "message.converter";
public static final String MESSAGE_CONVERTER_CLASSNAME_DOC = "Converter to compose the Kafka message. Optional, defaults to " +
"com.github.jcustenborder.kafka.connect.rabbitmq.source.data.MessageConverter";
"com.github.themeetgroup.kafka.connect.rabbitmq.source.data.MessageConverter";

public final String kafkaTopic;
public final List<String> queues;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.github.jcustenborder.kafka.connect.rabbitmq.source;
package com.github.themeetgroup.kafka.connect.rabbitmq.source;

import com.github.jcustenborder.kafka.connect.utils.VersionUtil;
import com.github.jcustenborder.kafka.connect.utils.data.SourceRecordConcurrentLinkedDeque;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.github.jcustenborder.kafka.connect.rabbitmq.source.data;
package com.github.themeetgroup.kafka.connect.rabbitmq.source.data;

import com.rabbitmq.client.AMQP;
import com.rabbitmq.client.Envelope;
import org.apache.kafka.connect.data.Schema;
import org.apache.kafka.connect.header.ConnectHeaders;
import org.apache.kafka.connect.header.Headers;

import static com.github.jcustenborder.kafka.connect.rabbitmq.source.data.MessageConverter.basicProperties;
import static com.github.themeetgroup.kafka.connect.rabbitmq.source.data.MessageConverter.basicProperties;

public class BytesSourceMessageConverter implements SourceMessageConverter<String, byte[]> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.github.jcustenborder.kafka.connect.rabbitmq.source.data;
package com.github.themeetgroup.kafka.connect.rabbitmq.source.data;

import com.google.common.collect.ImmutableMap;
import com.rabbitmq.client.AMQP;
Expand Down Expand Up @@ -44,7 +44,7 @@ public class MessageConverter implements SourceMessageConverter<Struct, Struct>
static final String FIELD_ENVELOPE_ROUTINGKEY = "routingKey";

static final Schema SCHEMA_ENVELOPE = SchemaBuilder.struct()
.name("com.github.jcustenborder.kafka.connect.rabbitmq.Envelope")
.name("com.github.themeetgroup.kafka.connect.rabbitmq.Envelope")
.doc("Encapsulates a group of parameters used for AMQP's Basic methods. See " +
"`Envelope <https://www.rabbitmq.com/releases/rabbitmq-java-client/current-javadoc/com/rabbitmq/client/Envelope.html>`_")
.field(FIELD_ENVELOPE_DELIVERYTAG, SchemaBuilder.int64().doc("The delivery tag included in this parameter envelope. See `Envelope.getDeliveryTag() <https://www.rabbitmq.com/releases/rabbitmq-java-client/current-javadoc/com/rabbitmq/client/Envelope.html#getDeliveryTag-->`_").build())
Expand All @@ -65,7 +65,7 @@ static Struct envelope(Envelope envelope) {

static {
SchemaBuilder builder = SchemaBuilder.struct()
.name("com.github.jcustenborder.kafka.connect.rabbitmq.BasicProperties.HeaderValue")
.name("com.github.themeetgroup.kafka.connect.rabbitmq.BasicProperties.HeaderValue")
.doc("Used to store the value of a header value. The `type` field stores the type of the data and the corresponding " +
"field to read the data from.")
.field("type", SchemaBuilder.string().doc("Used to define the type for the HeaderValue. " +
Expand Down Expand Up @@ -105,7 +105,7 @@ static Struct envelope(Envelope envelope) {
static final String FIELD_BASIC_PROPERTIES_APPID = "appId";

static final Schema SCHEMA_KEY = SchemaBuilder.struct()
.name("com.github.jcustenborder.kafka.connect.rabbitmq.MessageKey")
.name("com.github.themeetgroup.kafka.connect.rabbitmq.MessageKey")
.doc("Key used for partition assignment in Kafka.")
.field(
FIELD_BASIC_PROPERTIES_MESSAGEID,
Expand All @@ -115,7 +115,7 @@ static Struct envelope(Envelope envelope) {
.build();

static final Schema SCHEMA_BASIC_PROPERTIES = SchemaBuilder.struct()
.name("com.github.jcustenborder.kafka.connect.rabbitmq.BasicProperties")
.name("com.github.themeetgroup.kafka.connect.rabbitmq.BasicProperties")
.optional()
.doc("Corresponds to the `BasicProperties <https://www.rabbitmq.com/releases/rabbitmq-java-client/current-javadoc/com/rabbitmq/client/BasicProperties.html>`_")
.field(
Expand Down Expand Up @@ -272,7 +272,7 @@ static Struct basicProperties(BasicProperties basicProperties) {


static final Schema SCHEMA_VALUE = SchemaBuilder.struct()
.name("com.github.jcustenborder.kafka.connect.rabbitmq.Message")
.name("com.github.themeetgroup.kafka.connect.rabbitmq.Message")
.doc("Message as it is delivered to the `RabbitMQ Consumer <https://www.rabbitmq.com/releases/rabbitmq-java-client/current-javadoc/com/rabbitmq/client/Consumer.html#handleDelivery-java.lang.String-com.rabbitmq.client.Envelope-com.rabbitmq.client.AMQP.BasicProperties-byte:A->`_ ")
.field(FIELD_MESSAGE_CONSUMERTAG, SchemaBuilder.string().doc("The consumer tag associated with the consumer").build())
.field(FIELD_MESSAGE_ENVELOPE, SCHEMA_ENVELOPE)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.github.jcustenborder.kafka.connect.rabbitmq.source.data;
package com.github.themeetgroup.kafka.connect.rabbitmq.source.data;

import com.rabbitmq.client.AMQP;
import com.rabbitmq.client.Envelope;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.github.jcustenborder.kafka.connect.rabbitmq.source.data;
package com.github.themeetgroup.kafka.connect.rabbitmq.source.data;

import com.github.jcustenborder.kafka.connect.rabbitmq.source.RabbitMQSourceConnectorConfig;
import com.github.themeetgroup.kafka.connect.rabbitmq.source.RabbitMQSourceConnectorConfig;
import com.google.common.collect.ImmutableMap;
import com.rabbitmq.client.AMQP;
import com.rabbitmq.client.Envelope;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.github.jcustenborder.kafka.connect.rabbitmq.source.data;
package com.github.themeetgroup.kafka.connect.rabbitmq.source.data;

import com.rabbitmq.client.AMQP;
import com.rabbitmq.client.Envelope;
Expand All @@ -24,7 +24,7 @@
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;

import static com.github.jcustenborder.kafka.connect.rabbitmq.source.data.MessageConverter.basicProperties;
import static com.github.themeetgroup.kafka.connect.rabbitmq.source.data.MessageConverter.basicProperties;

public class StringSourceMessageConverter implements SourceMessageConverter {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.github.jcustenborder.kafka.connect.rabbitmq.source.data;
package com.github.themeetgroup.kafka.connect.rabbitmq.source.data;

import com.google.common.collect.ImmutableMap;
import com.rabbitmq.client.BasicProperties;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.jcustenborder.kafka.connect.rabbitmq.source.data;
package com.github.themeetgroup.kafka.connect.rabbitmq.source.data;

import org.apache.kafka.connect.sink.SinkRecord;
import org.apache.kafka.connect.transforms.Transformation;
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/logback.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<root level="INFO">
<appender-ref ref="STDOUT" />
</root>
<logger name="com.github.jcustenborder.kafka.connect.rabbitmq" level="TRACE" />
<logger name="com.github.themeetgroup.kafka.connect.rabbitmq" level="TRACE" />
</configuration>

0 comments on commit 1cbce8d

Please sign in to comment.