-
Create a custom reassignment plan (see attached file
inc-replication-factor.json
). In this case we are going from replication factor of 1 to 3. -
Run Kafka partition reassignment script:
kafka-reassign-partitions --zookeeper $ZOOKEEPER_CONNECT \ --reassignment-json-file /home/liquidnt/inc-replication-factor.json \ --execute
-
Verify if the assignment was successful
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: reverse-words | |
labels: | |
name: reverse-words | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: app.kiegroup.org/v2 | |
kind: KieApp | |
metadata: | |
name: pam-staging | |
namespace: pam | |
spec: | |
# environment: rhpam-trial | |
environment: rhpam-authoring | |
# useImageTags: true | |
commonConfig: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: app.kiegroup.org/v2 | |
kind: KieApp | |
metadata: | |
name: insurance | |
spec: | |
environment: rhdm-production-immutable | |
upgrades: | |
enabled: true | |
commonConfig: | |
adminUser: userAdmin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"time" | |
"math/rand" | |
"gopkg.in/confluentinc/confluent-kafka-go.v1/kafka" | |
) | |
func makeTimestamp() int64 { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"time" | |
"math/rand" | |
"gopkg.in/confluentinc/confluent-kafka-go.v1/kafka" | |
) | |
func makeTimestamp() int64 { |
We can make this file beautiful and searchable if this error is corrected: It looks like row 5 should actually have 3 columns, instead of 5 in line 4.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name,role,qty | |
Pipeline,Pipeline application consumer,3 | |
Pipeline,Pipeline application producer,3 | |
Kafka,Kafka Brokers,3 | |
tsdb, Time Series Database (ClickHouse,VictoriaMetrics,Influx), 3 | |
monitoring, Grafana and Prometheus, 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> dig my-super-app.apps.ocp4.rhpg.org +short | |
192.168.50.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Lefalet shortcuts for common tile providers - is it worth adding such 1.5kb to Leaflet core? | |
L.TileLayer.Common = L.TileLayer.extend({ | |
initialize: function (options) { | |
L.TileLayer.prototype.initialize.call(this, this.url, options); | |
} | |
}); | |
(function () { | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.vagrant/ |