summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Widman <jeff@jeffwidman.com>2018-10-22 00:06:16 -0700
committerJeff Widman <jeff@jeffwidman.com>2018-10-22 00:06:16 -0700
commit2205a36f5b2796f2d24ecfc69c102f9633d49de1 (patch)
treef6d27836fb204dd5b07a0285e5247e9fb07b179f
parent08c77499a2e8bc79d6788d70ef96d77752ed6325 (diff)
downloadkafka-python-add-a-snappy-dose-of-https.tar.gz
Update remote urls: snappy, https, etcadd-a-snappy-dose-of-https
Snappy URL was outdated. Similarly, many of these sites now support https.
-rw-r--r--benchmarks/README2
-rw-r--r--docs/install.rst8
-rw-r--r--kafka/producer/kafka.py4
-rw-r--r--kafka/record/_crc32c.py4
-rw-r--r--kafka/util.py2
5 files changed, 10 insertions, 10 deletions
diff --git a/benchmarks/README b/benchmarks/README
index 369e8b6..531b789 100644
--- a/benchmarks/README
+++ b/benchmarks/README
@@ -1,4 +1,4 @@
The `record_batch_*` benchmarks in this section are written using
``perf`` library, created by Viktor Stinner. For more information on how to get
reliable results of test runs please consult
-http://perf.readthedocs.io/en/latest/run_benchmark.html.
+https://perf.readthedocs.io/en/latest/run_benchmark.html.
diff --git a/docs/install.rst b/docs/install.rst
index fe740f6..d6473ec 100644
--- a/docs/install.rst
+++ b/docs/install.rst
@@ -37,7 +37,7 @@ Optional Snappy install
Install Development Libraries
=============================
-Download and build Snappy from http://code.google.com/p/snappy/downloads/list
+Download and build Snappy from https://google.github.io/snappy/
Ubuntu:
@@ -55,9 +55,9 @@ From Source:
.. code:: bash
- wget http://snappy.googlecode.com/files/snappy-1.0.5.tar.gz
- tar xzvf snappy-1.0.5.tar.gz
- cd snappy-1.0.5
+ wget https://github.com/google/snappy/releases/download/1.1.3/snappy-1.1.3.tar.gz
+ tar xzvf snappy-1.1.3.tar.gz
+ cd snappy-1.1.3
./configure
make
sudo make install
diff --git a/kafka/producer/kafka.py b/kafka/producer/kafka.py
index 4fc7bc6..7878c0a 100644
--- a/kafka/producer/kafka.py
+++ b/kafka/producer/kafka.py
@@ -51,7 +51,7 @@ class KafkaProducer(object):
'retries' is configured to 0. Enabling retries also opens up the
possibility of duplicates (see the documentation on message
delivery semantics for details:
- http://kafka.apache.org/documentation.html#semantics
+ https://kafka.apache.org/documentation.html#semantics
).
The producer maintains buffers of unsent records for each partition. These
@@ -522,7 +522,7 @@ class KafkaProducer(object):
serializable to bytes via configured value_serializer. If value
is None, key is required and message acts as a 'delete'.
See kafka compaction documentation for more details:
- http://kafka.apache.org/documentation.html#compaction
+ https://kafka.apache.org/documentation.html#compaction
(compaction requires kafka >= 0.8.1)
partition (int, optional): optionally specify a partition. If not
set, the partition will be selected using the configured
diff --git a/kafka/record/_crc32c.py b/kafka/record/_crc32c.py
index 5704f82..9db2d89 100644
--- a/kafka/record/_crc32c.py
+++ b/kafka/record/_crc32c.py
@@ -18,9 +18,9 @@
# limitations under the License.
#
"""Implementation of CRC-32C checksumming as in rfc3720 section B.4.
-See http://en.wikipedia.org/wiki/Cyclic_redundancy_check for details on CRC-32C
+See https://en.wikipedia.org/wiki/Cyclic_redundancy_check for details on CRC-32C
This code is a manual python translation of c code generated by
-pycrc 0.7.1 (http://www.tty1.net/pycrc/). Command line used:
+pycrc 0.7.1 (https://pycrc.org/). Command line used:
'./pycrc.py --model=crc-32c --generate c --algorithm=table-driven'
"""
diff --git a/kafka/util.py b/kafka/util.py
index 75538dd..9354bd9 100644
--- a/kafka/util.py
+++ b/kafka/util.py
@@ -134,7 +134,7 @@ class ReentrantTimer(object):
class WeakMethod(object):
"""
Callable that weakly references a method and the object it is bound to. It
- is based on http://stackoverflow.com/a/24287465.
+ is based on https://stackoverflow.com/a/24287465.
Arguments: