How can I make a Apache Kafka setup reproducible?
The same project needs to behave consistently on developer machines, in CI and after deployment. Which versions, dependencies and configuration should be recorded?
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
The same project needs to behave consistently on developer machines, in CI and after deployment. Which versions, dependencies and configuration should be recorded?
I have table for store file information. File content is stored in column (column datatype is bytea in PostgreSQL). Now I want to get file content size, based on bytea column data. In SQL Server, I am able to get by using below query: select convert(nvarchar(50),DATALENGTH(FileDataInVarbinary)/ 1048576.0 ) +' MB' as FileSize from Table_FileInfo Could you sug
I have the following FastAPI application: from fastapi import FastAPI, Request import time app = FastAPI() @app.get("/ping") async def ping(request: Request): print("Hello") time.sleep(5) print("bye") return {"ping": "pong!"} Calling the above endpoint on localhost —e.g., http://localhost:8501/ping —from different tabs of the same browser window, it returns
I am trying to create a docker-compose stack with pg and pgadmin as follows, version: '3.1' services: pg-admin: image: dpage/pgadmin4 volumes: - /Users/pkaramol/Desktop/backup.tar:/pgadmin4/dvdrental.tar ports: - "8181:80" environment: PGADMIN_DEFAULT_EMAIL: user@domain.com PGADMIN_DEFAULT_PASSWORD: 1234 depends_on: - pg pg: image: postgres:12 volumes: - ./p
I've written a custom jail and filter in fail2ban for logging into my service. The log file is located in /var/log/motion/motion.log and a failed login generates a line like this: [0:ml1] [ALR] [STR] [Nov 02 11:42:59] handle_basic_auth: motion-stream - failed auth attempt from <ip> My jail in /etc/fail2ban/jail.local looks like this: [motion-auth] enab
Compare suitability, operational responsibilities and limits before choosing this technology for a project. Which trade-offs should guide the decision?
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]]. I am facing this error on mac while trying to run this command docker run --rm --gpus all -v static_volume:/ho
version pip 21.2.4 python 3.6 The command: pip install -r requirements.txt The content of my requirements.txt : mongoengine==0.19.1 numpy==1.16.2 pylint pandas==1.1.5 fawkes The command is failing with this error ERROR: Command errored out with exit status 1: command: /Users/*/Desktop/ml/*/venv/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.arg
Whenever I am trying to run the docker images, it is exiting in immediately. CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES ae327a2bdba3 k8s-for-beginners:v0.0.1 "/k8s-for-beginners" 11 seconds ago Exited (1) 10 seconds ago focused_booth As per Container Logs standard_init_linux.go:228: exec user process caused: no such file or directory I have create
commented · 10 Mar 2022, 09:25 UTC
answered · 07 Mar 2022, 20:13 UTC
answered · 27 Feb 2022, 16:50 UTC
answered · 25 Feb 2022, 07:39 UTC